Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/cleanup #63

Closed
wants to merge 110 commits into from
Closed

Feature/cleanup #63

wants to merge 110 commits into from

Commits on Mar 16, 2014

  1. Fix hop runner for now

    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    a7bf622 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f915b21 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a39f5f4 View commit details
    Browse the repository at this point in the history
  4. Cleanup Aabb2:

    - More documentation
    - Formatting
    - Remove call chaining
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    2f6fd02 View commit details
    Browse the repository at this point in the history
  5. Cleanup Aabb3:

    - More documentation
    - Formatting
    - Remove call chaining
    - Tune the code to allow dart2js to generate better output (also for Aabb2)
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    e120023 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8032ae9 View commit details
    Browse the repository at this point in the history
  7. Cleanup Frustum:

    - More documentation
    - Formatting
    - Remove call chaining
    - Tune the code to allow dart2js to generate better output
    - Remove duplicate code => Aabb3.getPN
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    6827e56 View commit details
    Browse the repository at this point in the history
  8. Cleanup opengl realated functions:

    - Change documentation comment style
    - Formatting
    - Tune the code to allow dart2js to generate better output
    - Change type annotations from num to double (and the toDouble calls) to match the style of the rest of the library
    - Don't use the * operator on matrix as it requires type checking
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    4a01262 View commit details
    Browse the repository at this point in the history
  9. Cleanup Plane:

    - More documentation
    - Formatting
    - Fix normalConstant constructor caseing
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    4abf875 View commit details
    Browse the repository at this point in the history
  10. Cleanup Plane:

    - More documentation
    - Formatting
    - Remove copyOriginDirection
    - Tune the code to allow dart2js to generate better output
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    3f59aeb View commit details
    Browse the repository at this point in the history
  11. Cleanup Sphere:

    - More documentation
    - Formatting
    - Tune the code to allow dart2js to generate better output
    - Fix bug in copyFrom
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    100da97 View commit details
    Browse the repository at this point in the history
  12. Cleanup Sphere:

    - More documentation
    - Formatting
    - Remove  copyOriginDirection method (yes it was really named that way...)
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    305ff6e View commit details
    Browse the repository at this point in the history
  13. Cleanup vector methods

    - Formatting
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    33e5b20 View commit details
    Browse the repository at this point in the history
  14. Fix some minor warnings

    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    3f1498e View commit details
    Browse the repository at this point in the history
  15. Cleanup Vector3:

    - Formatting
    - Tune the code to allow dart2js to generate better output
    - Remove call chaining
    - Remove duplicated code from operators
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    5414cb9 View commit details
    Browse the repository at this point in the history
  16. Cleanup Vector2:

    - Formatting
    - Tune the code to allow dart2js to generate better output
    - Remove call chaining
    - Remove duplicated code from operators
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    dcdb048 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    b025e0f View commit details
    Browse the repository at this point in the history
  18. Make rg and st setters/getters to aliases of xy setters/getters as th…

    …ey are only aliases with a different name.
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    fbe42dc View commit details
    Browse the repository at this point in the history
  19. Make rg and st setters/getters to aliases of xy setters/getters as th…

    …ey are only aliases with a different name.
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    72fee7b View commit details
    Browse the repository at this point in the history
  20. Cleanup Vector4:

    - Formatting
    - Tune the code to allow dart2js to generate better output
    - Remove call chaining
    - Remove duplicated code from operators
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    8e240b5 View commit details
    Browse the repository at this point in the history
  21. Make rg and st setters/getters to aliases of xy setters/getters as th…

    …ey are only aliases with a different name.
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    0257172 View commit details
    Browse the repository at this point in the history
  22. Cleanup Quaternion:

    - Formatting
    - Tune the code to allow dart2js to generate better output
    - Remove call chaining
    - Remove duplicated code
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    792b6c6 View commit details
    Browse the repository at this point in the history
  23. Merge branch 'master' of https://github.com/johnmccutchan/vector_math

    …into feature/cleanup
    
    Conflicts:
    	lib/src/vector_math/opengl.dart
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    e7d4865 View commit details
    Browse the repository at this point in the history
  24. Fix doc comment

    Keep up with my changes
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    0b9068a View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    6603381 View commit details
    Browse the repository at this point in the history
  26. Fix noise test

    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    b1a5bc8 View commit details
    Browse the repository at this point in the history
  27. Cleanup Matrix2:

    - Formatting
    - Tune the code to allow dart2js to generate better output
    - Remove call chaining
    - Remove duplicated code from operators
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    8ecbb60 View commit details
    Browse the repository at this point in the history
  28. Cleanup Matrix3:

    - Formatting
    - Tune the code to allow dart2js to generate better output
    - Remove call chaining
    - Remove duplicated code from operators
    Fox32 committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    9e6c452 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2014

  1. Cleanup Matrix4:

    - Formatting
    - Tune the code to allow dart2js to generate better output
    - Remove call chaining
    - Remove duplicated code from operators
    - Checking for matrix type instead of dimiension produce much better code.
    - Split up scale into scale, scale3 and scale4, same for translate, translate3 and translate4
    - Rename setTranslation to setTranslation3 and setTranslationRaw to setTranslation
    Fox32 committed Mar 17, 2014
    Configuration menu
    Copy the full SHA
    21b5323 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d51fe5a View commit details
    Browse the repository at this point in the history
  3. Always touch the privates, seems to generate better dart2js code than…

    … using the getter for them.
    Fox32 committed Mar 17, 2014
    Configuration menu
    Copy the full SHA
    17a26f4 View commit details
    Browse the repository at this point in the history
  4. Take care that every class in vector_math has it own names for it pri…

    …vate fields. If every class has a private property called "_storage", dart2js can't distinguish between them. Renaming them from "_storage" to "_storage22", "_storage33" and so on, generates better code. Sounds awful, but works!
    Fox32 committed Mar 17, 2014
    Configuration menu
    Copy the full SHA
    787640f View commit details
    Browse the repository at this point in the history
  5. Take advantage of factory constructors

    Add missing constructors or setXY call if only one of them exists
    Fox32 committed Mar 17, 2014
    Configuration menu
    Copy the full SHA
    1dfb542 View commit details
    Browse the repository at this point in the history
  6. Documentation for Quaternion class

    Add add, sub and copyRotationInfo
    Fox32 committed Mar 17, 2014
    Configuration menu
    Copy the full SHA
    00cf201 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b6f6249 View commit details
    Browse the repository at this point in the history
  8. Run analyser for all libs

    Add analyser_test task
    Fox32 committed Mar 17, 2014
    Configuration menu
    Copy the full SHA
    6d5ac49 View commit details
    Browse the repository at this point in the history
  9. Add setUpper2x2 again

    Fox32 committed Mar 17, 2014
    Configuration menu
    Copy the full SHA
    2f9e21d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3620aa8 View commit details
    Browse the repository at this point in the history
  11. Some small formatting changes

    Fox32 committed Mar 17, 2014
    Configuration menu
    Copy the full SHA
    dcd7182 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5252e58 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7f9503d View commit details
    Browse the repository at this point in the history
  14. Merge branch 'feature/cleanup' of https://github.com/Fox32/vector_math

    …into feature/cleanup
    Fox32 committed Mar 17, 2014
    Configuration menu
    Copy the full SHA
    7579d02 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2014

  1. Configuration menu
    Copy the full SHA
    3af63f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    31c8484 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ba8710 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d60f0e2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2616e6d View commit details
    Browse the repository at this point in the history
  6. As pointed out, the type checks in operators are not necessary anymor…

    …e, removed them again.
    Fox32 committed Mar 18, 2014
    Configuration menu
    Copy the full SHA
    a70e3a1 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2014

  1. Merge branch 'master' of https://github.com/johnmccutchan/vector_math

    …into feature/cleanup
    
    Conflicts:
    	lib/src/vector_math/vector2.dart
    	lib/src/vector_math/vector3.dart
    	lib/src/vector_math/vector4.dart
    	lib/src/vector_math_geometry/mesh_geometry.dart
    	lib/src/vector_math_operations/matrix.dart
    	test/test_noise.dart
    	tool/hop_runner.dart
    
    I also generated a new version of vector_math_64
    Fox32 committed Mar 21, 2014
    Configuration menu
    Copy the full SHA
    9cf2890 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2014

  1. Configuration menu
    Copy the full SHA
    0936a0b View commit details
    Browse the repository at this point in the history
  2. Add missing setCenterAndHalfExtends to aabb

    Also fix some formating
    Fox32 committed Mar 25, 2014
    Configuration menu
    Copy the full SHA
    e8661f5 View commit details
    Browse the repository at this point in the history
  3. Fix typo in name

    Fox32 committed Mar 25, 2014
    Configuration menu
    Copy the full SHA
    80b20f2 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2014

  1. Fix another typo in name

    Fox32 committed Mar 31, 2014
    Configuration menu
    Copy the full SHA
    73d77a0 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2014

  1. Improve code formatting

    Fox32 committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    7aa7ba1 View commit details
    Browse the repository at this point in the history
  2. Regenerate vector math 64

    Fox32 committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    bed1848 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a613ddc View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2014

  1. Fix vetor.normalizeLength to due what the description says. As I coul…

    …d only find the bug due to my own application, I also added tests for that case.
    Fox32 committed Apr 21, 2014
    Configuration menu
    Copy the full SHA
    66b9578 View commit details
    Browse the repository at this point in the history
  2. Change relativeTest and absoluteTest to be matchers that can be used …

    …in the following way:
    
    expect(5.0, relativeEquals(5.0));
    Fox32 committed Apr 21, 2014
    Configuration menu
    Copy the full SHA
    c7e32b1 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2014

  1. Configuration menu
    Copy the full SHA
    10693b5 View commit details
    Browse the repository at this point in the history
  2. Revert "Fix AabbX.intersectsAAbbX being completely wrong"

    This reverts commit 10693b5.
    Fox32 committed Jun 8, 2014
    Configuration menu
    Copy the full SHA
    79183f0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    18fd15f View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2014

  1. Configuration menu
    Copy the full SHA
    30b9cc4 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2014

  1. Add Ray.copyAt to calculate the position on the ray without creating …

    …a new Vector3 instance
    
    Regenerate vector math 64
    Fox32 committed Jun 23, 2014
    Configuration menu
    Copy the full SHA
    1a2ba8f View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2014

  1. Configuration menu
    Copy the full SHA
    af108af View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2014

  1. Try to fix calculating the length by stride and offset again. Still n…

    …ot perfect and assumes that the vector has a length that is a multiple of the stride (that should be the case most of the time). Before the last element of a vector was cut off in some situations.
    Fox32 committed Aug 1, 2014
    Configuration menu
    Copy the full SHA
    792ed45 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2014

  1. Fix warnings

    Fox32 committed Aug 16, 2014
    Configuration menu
    Copy the full SHA
    e7bb96d View commit details
    Browse the repository at this point in the history
  2. Add smooth step and catmullRom

    Fox32 committed Aug 16, 2014
    Configuration menu
    Copy the full SHA
    372e826 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c3a5110 View commit details
    Browse the repository at this point in the history
  4. Add perspectiveTransform to matrix4 to transform a vector3 as a vecto…

    …r4 with the w component set to 1. Later the result is divided by w.
    Fox32 committed Aug 16, 2014
    Configuration menu
    Copy the full SHA
    fb3a01b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    86a5731 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5ba07bf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2ff84ce View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1556903 View commit details
    Browse the repository at this point in the history
  9. Add fromRay to aabb3 to create bounding box for a ray that is limited…

    … (more a line segement)
    Fox32 committed Aug 16, 2014
    Configuration menu
    Copy the full SHA
    a86b32a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7b9f28f View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2014

  1. Add first work on a OBB class

    Fox32 committed Aug 19, 2014
    Configuration menu
    Copy the full SHA
    83f78a7 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2014

  1. Revert changes to colors.dart

    Generate a new version of vector_math_64
    Fox32 committed Aug 23, 2014
    Configuration menu
    Copy the full SHA
    4bd3e0f View commit details
    Browse the repository at this point in the history
  2. Fix space from last commit

    Fox32 committed Aug 23, 2014
    Configuration menu
    Copy the full SHA
    eedcdcb View commit details
    Browse the repository at this point in the history
  3. Make normalize() behave like normalizeLenght() as the return value is…

    … useable for this now. Mark normalizeLenght() deprecated
    Fox32 committed Aug 23, 2014
    Configuration menu
    Copy the full SHA
    18ff83a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d208405 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2a5e5a4 View commit details
    Browse the repository at this point in the history
  6. Add more documentation

    Change the docs url in README to point to dartdocs.org
    Fox32 committed Aug 23, 2014
    Configuration menu
    Copy the full SHA
    788d262 View commit details
    Browse the repository at this point in the history
  7. Reorganize tests

    Make test files smaller (sperate tests for Vector2, Vector3, lists, Matrices and so on...)
    Put tests into folders matching their library
    It allows also a better overview where we need to improve our test coverage in the future
    Fox32 committed Aug 23, 2014
    Configuration menu
    Copy the full SHA
    9bc27fa View commit details
    Browse the repository at this point in the history
  8. Add tests for vector_math_64. The tests are generated from the 32bit …

    …tests. Fix some tests that fail due to precision changes.
    Fox32 committed Aug 23, 2014
    Configuration menu
    Copy the full SHA
    d0f71b3 View commit details
    Browse the repository at this point in the history
  9. Add a way to run the unittests in a browser. Running in dartium is no…

    …t that important, but it is important to check if the results of the dart2js generate code behaves the same as in the VM.
    Fox32 committed Aug 23, 2014
    Configuration menu
    Copy the full SHA
    db59cc3 View commit details
    Browse the repository at this point in the history
  10. Add version constraints

    Fox32 committed Aug 23, 2014
    Configuration menu
    Copy the full SHA
    9e16c06 View commit details
    Browse the repository at this point in the history
  11. Bump version to 2.0.0 due to breaking changes

    Add changelog entry to keep track of the changes
    Fox32 committed Aug 23, 2014
    Configuration menu
    Copy the full SHA
    840df37 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4361446 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2014

  1. Add asserts to entry and setEntry as a out of bound without a excepti…

    …on would be possible.
    Fox32 committed Aug 24, 2014
    Configuration menu
    Copy the full SHA
    55c8795 View commit details
    Browse the repository at this point in the history
  2. Add unittests for obb3

    Fix obb3 vs obb3 intersection test
    Rename obb extents to halfExtents to avoid confusion compared to Aabb3
    Fox32 committed Aug 24, 2014
    Configuration menu
    Copy the full SHA
    6eb3f71 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    487d7dc View commit details
    Browse the repository at this point in the history
  4. Add obb closesPointTo

    Fox32 committed Aug 24, 2014
    Configuration menu
    Copy the full SHA
    d77eba6 View commit details
    Browse the repository at this point in the history
  5. Improve documentation

    Fox32 committed Aug 24, 2014
    Configuration menu
    Copy the full SHA
    45a0fb9 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2014

  1. Configuration menu
    Copy the full SHA
    f7a6c9b View commit details
    Browse the repository at this point in the history
  2. Add Aabb3-Triangle test

    Fix triangle intersection with Aabb3
    dhenneke committed Aug 26, 2014
    Configuration menu
    Copy the full SHA
    e628a73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0b8e7e7 View commit details
    Browse the repository at this point in the history
  4. Fix triangle aabb3 intersect

    dhenneke committed Aug 26, 2014
    Configuration menu
    Copy the full SHA
    7a09a97 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2014

  1. Configuration menu
    Copy the full SHA
    a88f36a View commit details
    Browse the repository at this point in the history
  2. Fix Aabb3 intersects Triangle

    Add Quad intersection to Obb3 and Aabb3
    Add tests for Obb3 intersects Triangle
    dhenneke committed Aug 27, 2014
    Configuration menu
    Copy the full SHA
    d2c6948 View commit details
    Browse the repository at this point in the history
  3. Reduce allocating variables

    Fix Quad intersection
    dhenneke committed Aug 27, 2014
    Configuration menu
    Copy the full SHA
    ba704f0 View commit details
    Browse the repository at this point in the history
  4. Generate vector_math_64 code

    dhenneke committed Aug 27, 2014
    Configuration menu
    Copy the full SHA
    36e9984 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2014

  1. Fix Quad.copyTriangles

    Fix Quad.copyNormal test, the used quad was not valid
    Add Quad.copyTriangles test
    Fox32 committed Aug 28, 2014
    Configuration menu
    Copy the full SHA
    7edda0d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aecb899 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2014

  1. Configuration menu
    Copy the full SHA
    cb95f6c View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2014

  1. Configuration menu
    Copy the full SHA
    898ab67 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2014

  1. Configuration menu
    Copy the full SHA
    6d10fee View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2014

  1. Add Matrix4.copyRotation

    Fox32 committed Dec 13, 2014
    Configuration menu
    Copy the full SHA
    594b1ff View commit details
    Browse the repository at this point in the history
  2. Generate vector_math_64

    Fox32 committed Dec 13, 2014
    Configuration menu
    Copy the full SHA
    e9efbce View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2014

  1. Configuration menu
    Copy the full SHA
    c2f5bd7 View commit details
    Browse the repository at this point in the history
  2. Fix typo in last commit

    Fox32 committed Dec 20, 2014
    Configuration menu
    Copy the full SHA
    e07c0d9 View commit details
    Browse the repository at this point in the history