|
|
@1893
|
10 years |
sam |
math: refactor real number constant declarations so that they are only …
|
|
|
@1796
|
10 years |
sam |
math: add dot() for quaternions, plus the relevant unit test.
|
|
|
@1668
|
11 years |
sam |
test: add a unit test to ensure default constructed reals are …
|
|
|
@1535
|
11 years |
sam |
build: allow to build the PS3 binaries from Visual Studio if the …
|
|
|
@1519
|
11 years |
sam |
build: add lots of missing svn:ignore properties.
|
|
|
@1512
|
11 years |
sam |
build: fix the PS3 port by using our trig.h everywhere instead of …
|
|
|
@1426
|
11 years |
sam |
core: rename f64vec4 to dvec4 etc. for consistency with GLSL.
|
|
|
@1395
|
11 years |
sam |
test: add a few unit tests for datatype sanity.
|
|
|
@1345
|
11 years |
sam |
core: allow to concatenate arrays, and add unit tests for that.
|
|
|
@1341
|
11 years |
sam |
math: allow to write 1.f / q to take a quaternion's inverse.
|
|
|
@1328
|
11 years |
sam |
core: the Array class now properly works with non-POD types.
|
|
|
@1326
|
11 years |
sam |
core: rename Array::Append() to Array::Push() for brevity and …
|
|
|
@1321
|
11 years |
sam |
test: add matrix determinant and quaternion norm checks in the unit tests.
|
|
|
@1320
|
11 years |
sam |
math: replace mat3::rotate(quat) with an explicit constructor, and add …
|
|
|
@1318
|
11 years |
sam |
test: add several unit tests for rotations with matrices and quaternions.
|
|
|
@1305
|
11 years |
sam |
math: chage quaternion constructor to wxyz order because it matches …
|
|
|
@1294
|
11 years |
sam |
test: add unit tests for the Array class.
|
|
|
@1257
|
11 years |
sam |
math: add inversion code for 2×2 and 3×3 matrices, and transposition …
|
|
|
@1165
|
11 years |
gary |
win32: fix Visual Studio compilation and link issues.
|
|
|
@1163
|
11 years |
sam |
math: ensure real::fabs() is never chosen over std::fabs() for …
|
|
|
@1146
|
11 years |
sam |
win32: some compilation fixes here and there.
|
|
|
@1139
|
11 years |
sam |
math: rename matrix.h to vector.h and simplify some stuff, especially …
|
|
|
@1136
|
11 years |
sam |
math: try to implement the magic getter/setter pattern. BREAKS BUILD.
|
|
|
@1135
|
11 years |
sam |
math: move most vector and matrix member functions to global functions.
|
|
|
@1130
|
11 years |
sam |
math: implement ulp() for reals, which returns the smallest real y > 0 …
|
|
|
@1122
|
11 years |
sam |
real: get rid of <<= and >>= operators; we can use ldexp() instead. As …
|
|
|
@1116
|
11 years |
sam |
core: fix the sign of a negative real number raised to an even power, …
|
|
|
@1115
|
11 years |
sam |
core: allow to build a real number using a string literal.
|
|
|
@1107
|
11 years |
sam |
test: do not test for strict doubles equality in quaternion unit test.
|
|
|
@1052
|
11 years |
sam |
core: implement complex numbers and add unit tests for these.
|
|
|
@1049
|
11 years |
sam |
test: add missing quaternion unit tests.
|
|
|
@1041
|
11 years |
sam |
core: new combinations of integer vectors (unsigned, 8-bit, etc.), dot …
|
|
|
@1035
|
11 years |
sam |
core: disallow casting eg. a vec3 into a vec2. Use the xy() getter instead.
|
|
|
@1028
|
11 years |
sam |
test: minor fixes to the test suite: disable optimisation tests in …
|
|
|
@1019
|
11 years |
sam |
core: implement real methods cbrt(), log2(), exp2(), and copysign().
|
|
|
@1017
|
11 years |
sam |
core: fix an accuracy error in real::re() and real::sqrt() introduced …
|
|
|
@1003
|
11 years |
sam |
core: implement round() and fmod() for real numbers.
|
|
|
@1002
|
11 years |
sam |
core: implement floor() and ceil() for real numbers.
|
|
|
@1001
|
11 years |
sam |
core: implement asin() and acos() for real numbers and add unit tests …
|
|
|
@998
|
11 years |
sam |
core: add real constants for 0, 1, 2 and 10, and reorder static …
|
|
|
@997
|
11 years |
sam |
core: add boolean operators on real numbers, add unit tests for that, …
|
|
|
@994
|
11 years |
sam |
core: implement shift operators for reals; they're useful for fast …
|
|
|
@982
|
11 years |
sam |
core: add rounding to real->double conversion, fix a bug in the …
|
|
|
@979
|
11 years |
sam |
test: give more explicit names to unit test cases.
|
|
|
@978
|
11 years |
sam |
test: add simple unit tests for image loading.
|
|
|
@976
|
11 years |
sam |
core: allow to cast reals to doubles in addition to floats.
|
|
|
@975
|
11 years |
sam |
core: implement division of reals and change their default precision …
|
|
|
@974
|
11 years |
sam |
core: implement real subtraction.
|
|
|
@973
|
11 years |
sam |
core: implement comparison operators for reals.
|
|
|
@972
|
11 years |
sam |
core: fix real unary minus and handle negative numbers in additions.
|
|
|
@971
|
11 years |
sam |
core: handle zero, negative zero and infinite in the real constructor, …
|
|
|
@970
|
11 years |
sam |
core: start working on the extended floating point addition.
|
|
|
@969
|
11 years |
sam |
core: switch real mantissa to uint16_t instead of uint32_t to ease the …
|
|
|
@967
|
11 years |
sam |
core: add missing real.cpp unit test.
|
|
|
@942
|
11 years |
sam |
test: reorganise test suite and benchmark code.
|