|
|
@1667
|
9 years |
sam |
math: add an sprintf() method to real numbers, and ensure they are …
|
|
|
@1513
|
9 years |
sam |
core: replace usage of sin() or std::sin() with lol::sin() where …
|
|
|
@1512
|
9 years |
sam |
build: fix the PS3 port by using our trig.h everywhere instead of …
|
|
|
@1502
|
9 years |
sam |
core: fix a few build warnings and remove useless operators from the …
|
|
|
@1426
|
9 years |
sam |
core: rename f64vec4 to dvec4 etc. for consistency with GLSL.
|
|
|
@1405
|
9 years |
sam |
math: declare some HLSL-compliant types.
|
|
|
@1401
|
9 years |
sam |
core: no longer deactivate std::ostream features on Android.
|
|
|
@1382
|
9 years |
sam |
math: workaround for an apparent Visual Studio compiler bug in …
|
|
|
@1381
|
9 years |
sam |
core: some clang and g++ 4.7 compilation fixes.
|
|
|
@1369
|
9 years |
sam |
math: replace len(vec) with length(vec) to match the GLSL naming.
|
|
|
@1352
|
9 years |
sam |
math: implement all Euler conversions for 3×3 matrices.
|
|
|
@1351
|
9 years |
sam |
math: implement quaternion creation from true Euler angles (as opposed …
|
|
|
@1350
|
9 years |
sam |
core: add methods to set the camera's view matrix.
|
|
|
@1349
|
9 years |
sam |
math: support all Tait-Bryan angle combinations in quaternions.
|
|
|
@1341
|
9 years |
sam |
math: allow to write 1.f / q to take a quaternion's inverse.
|
|
|
@1323
|
9 years |
sam |
core: reduce compilation time by about 30% by playing with namespaces …
|
|
|
@1320
|
9 years |
sam |
math: replace mat3::rotate(quat) with an explicit constructor, and add …
|
|
|
@1317
|
9 years |
sam |
math: add Quat::transform() to directly apply a quaternion to a vector.
|
|
|
@1315
|
9 years |
sam |
math: add methods to convert from a quaternion to Euler angles and …
|
|
|
@1314
|
9 years |
sam |
math: add quat::fromeuler static constructor for quaternions.
|
|
|
@1313
|
9 years |
sam |
build: fix compilation on Windows by undefining the min and max macros …
|
|
|
@1311
|
9 years |
sam |
math: add min(), max() and clamp() for half, real and vector types.
|
|
|
@1305
|
9 years |
sam |
math: chage quaternion constructor to wxyz order because it matches …
|
|
|
@1290
|
9 years |
sam |
debug: do not use std::abort() on the PS3.
|
|
|
@1272
|
9 years |
sam |
math: new mat3::scale() and mat4::scale() methods.
|
|
|
@1270
|
9 years |
sam |
math: implement rotate() for mat3 in addition to mat4.
|
|
|
@1264
|
9 years |
sam |
math: allow to easily create a 4x4 matrix from a 3x3 matrix, and so on.
|
|
|
@1259
|
9 years |
sam |
gpu: add methods to send mat2 and mat3 matrices to the shader.
|
|
|
@1258
|
9 years |
sam |
math: add code to build the normal matrix from a transformation matrix.
|
|
|
@1257
|
9 years |
sam |
math: add inversion code for 2×2 and 3×3 matrices, and transposition …
|
|
|
@1240
|
9 years |
sam |
debug: use std::abort() instead of a custom idiocy.
|
|
|
@1237
|
9 years |
sam |
build: fix GCC build; it doesn't like to have a local file called …
|
|
|
@1232
|
9 years |
sam |
math: add mat2 and mat3 types; they'll be useful.
|
|
|
@1217
|
9 years |
sam |
math: do not use #pragma diagnostic push for GCC prior to 4.6.
|
|
|
@1209
|
9 years |
sam |
math: use size_t instead of int for vector subscript to avoid torrents …
|
|
|
@1177
|
9 years |
sam |
math: disable vectors of halfs until we find a way to speed up the …
|
|
|
@1176
|
9 years |
sam |
math: add vectors of "half" to vector.h.
|
|
|
@1175
|
9 years |
sam |
math: move cross product out of the .cpp file.
|
|
|
@1164
|
9 years |
sam |
ps3: fix PS3 build after the Queue refactoring.
|
|
|
@1163
|
9 years |
sam |
math: ensure real::fabs() is never chosen over std::fabs() for …
|
|
|
@1161
|
9 years |
gary |
math: fix minor warnings in half.h and vector.h.
|
|
|
@1160
|
9 years |
sam |
math: move half.h into the public headers.
|
|
|
@1159
|
9 years |
sam |
math: disable annoying compiler warnings in vector.h.
|
|
|
@1158
|
9 years |
sam |
math: make sure magic swizzling vectors don't actually store data, and …
|
|
|
@1157
|
9 years |
sam |
math: minor tweak to avoid using macros with empty parameters.
|
|
|
@1154
|
9 years |
sam |
math: disable const union members on GCC prior to 4.6.
|
|
|
@1153
|
9 years |
sam |
math: add new coercion rules for vector classes.
|
|
|
@1151
|
9 years |
sam |
math: some refactoring in the vector operations, to make it easier to …
|
|
|
@1150
|
9 years |
sam |
math: add missing operators (==, !, <= etc.) to the "half" class so …
|
|
|
@1149
|
9 years |
gary |
math: minor compilation fixes for Visual Studio. Still does not link.
|
|
|
@1148
|
9 years |
sam |
math: allow vectors of half and real; they don't support swizzling or …
|
|
|
@1146
|
9 years |
sam |
win32: some compilation fixes here and there.
|
|
|
@1143
|
9 years |
sam |
math: disallow using vector swizzling components as lvalues until we …
|
|
|
@1142
|
9 years |
sam |
math: use const references instead of passing arguments by value in …
|
|
|
@1141
|
9 years |
sam |
math: add "const" to many vector swizzling patterns to forbid …
|
|
|
@1140
|
9 years |
sam |
math: fix a syntax error in vector.h due to duplicate macro declaration.
|
|
|
@1139
|
9 years |
sam |
math: rename matrix.h to vector.h and simplify some stuff, especially …
|
|
|
@1138
|
9 years |
sam |
math: some simplifications in the magic vector templates, and some …
|
|
|
@1137
|
9 years |
sam |
math: finally get the GLSL-like swizzling to work.
|
|
|
@1136
|
9 years |
sam |
math: try to implement the magic getter/setter pattern. BREAKS BUILD.
|
|
|
@1135
|
9 years |
sam |
math: move most vector and matrix member functions to global functions.
|
|
|
@1134
|
9 years |
sam |
math: use the usual GLSL member names for vectors (xyzw, rgba, stpq).
|
|
|
@1130
|
9 years |
sam |
math: implement ulp() for reals, which returns the smallest real y > 0 …
|
|
|
@1127
|
9 years |
sam |
math: significant performance improvements in the Remez solver.
|
|
|
@1122
|
9 years |
sam |
real: get rid of <<= and >>= operators; we can use ldexp() instead. As …
|
|
|
@1119
|
9 years |
sam |
math: make everything clean for a LolRemez release.
|
|
|
@1117
|
9 years |
sam |
math: move the Remez algorithm implementation to the core.
|
|
|
@937
|
9 years |
sam |
lolunit: rename a few methods for consistency.
|
|
|
@936
|
9 years |
sam |
lolunit: protect against multiple registration of the same fixture type.
|
|
|
@934
|
9 years |
sam |
lolunit: rename test runner’s run() method to Run() for consistency.
|
|
|
@932
|
9 years |
sam |
lolunit: add some comments to document the framework internals.
|
|
|
@930
|
9 years |
sam |
lolunit: add several helper macros for various comparison checks.
|
|
|
@928
|
9 years |
sam |
lolunit: tweak output formatting so that it more closely matches CppUnit.
|
|
|
@927
|
9 years |
sam |
lolunit: add a LOLUNIT_SET_CONTEXT / LOLUNIT_UNSET_CONTEXT macro pair. …
|
|
|
@925
|
9 years |
sam |
lolunit: reverse the expected/actual logic.
CPPUNIT_ASSERT_EQUAL(a, …
|
|
|
@924
|
9 years |
sam |
lolunit: fix an uninitialised member in TestCase.
|
|
|
@919
|
9 years |
sam |
lolunit: free all the memory we allocated to avoid a minor memory …
|
|
|
@914
|
9 years |
sam |
test: get rid of the need for LOLUNIT_SETUP_FIXTURE().
|
|
|
@913
|
9 years |
sam |
test: make LolUnit's output match CppUnit's more closely.
|
|
|
@912
|
9 years |
sam |
test: replace CppUnit with our LolUnit test suite.
CppUnit is really …
|