Sam Hocevar
|
8c3794a168
|
base: support range-based for loops in lol::Array.
|
hace 10 años |
Sam Hocevar
|
cb62b52ce6
|
math: add quat::axis() and quat::angle() to retrieve axis and angle from a
quaternion, improve quat::rotate(vec3, vec3) to gracefully handle corner
cases, and add unit tests for all of these.
|
hace 10 años |
Sam Hocevar
|
353d0a4417
|
math: last pass (hopefully) at the quaternion/euler conversions.
|
hace 11 años |
Sam Hocevar
|
d5d73330e8
|
math: more quaternion to Euler angles fixes, plus unit tests.
|
hace 11 años |
Sam Hocevar
|
9ecd579593
|
math: fix quaternion to euler conversion and add unit tests.
|
hace 11 años |
Sam Hocevar
|
c6e453fe5c
|
math: add unit tests for quat::rotate(vec3, vec3).
|
hace 11 años |
Sam Hocevar
|
e848af3f2a
|
math: fix an error in the quaternion code and update test suite.
|
hace 11 años |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
hace 12 años |
Sam Hocevar
|
f2c269cb1e
|
math: add dot() for quaternions, plus the relevant unit test.
|
hace 12 años |
Sam Hocevar
|
c276dbb1ff
|
math: allow to write 1.f / q to take a quaternion's inverse.
|
hace 12 años |
Sam Hocevar
|
9e9c18d37e
|
test: add several unit tests for rotations with matrices and quaternions.
|
hace 12 años |
Sam Hocevar
|
8325d8889c
|
math: chage quaternion constructor to wxyz order because it matches the
mathematical writing, and add static constructors to create quaternions
from a rotation.
|
hace 12 años |
Sam Hocevar
|
d38a79ee3d
|
math: move most vector and matrix member functions to global functions.
|
hace 13 años |
Sam Hocevar
|
2d3ee50da3
|
test: do not test for strict doubles equality in quaternion unit test.
|
hace 13 años |
Sam Hocevar
|
3dde22ea62
|
test: add missing quaternion unit tests.
|
hace 13 años |