105 Commits (6c9c8e547e8e983eab73c81fbff8f1785102c736)

Autor SHA1 Nachricht Datum
  Sam Hocevar 0149c30df4 core: refactor the Hash class so that we can hash base types, too. vor 13 Jahren
  Sam Hocevar 46f7e750c0 core: more string concatenation and comparison methods, plus a lot vor 13 Jahren
  Sam Hocevar fed77ef83e core: compilation fix for older compilers. vor 13 Jahren
  Sam Hocevar f2b71d368e core: new String class. vor 13 Jahren
  Sam Hocevar 63868aa10a math: prefix all convenience macros with "LOL_", make sure we #undef vor 13 Jahren
  Sam Hocevar b5cb7601a7 build: define our own std::abs() function for long long int on NaCl, vor 13 Jahren
  Sam Hocevar b2e00f113c build: fix minor build issues with Clang. vor 13 Jahren
  Sam Hocevar 57c2805351 math: reimplement min(), max(), abs() and fmod() in the lol:: namespace to vor 13 Jahren
  Sam Hocevar e4954c0a0f math: implement abs() and fmod() for vector types and the half class. vor 13 Jahren
  Sam Hocevar 2bf4cb668b math: add a uniform scaling matrix constructor. vor 13 Jahren
  Sam Hocevar 222ae90ba8 core: use "f128" as the long double prefix for vectors, even if it's vor 13 Jahren
  Sam Hocevar d4c0c005d6 math: refactor real number constant declarations so that they are only vor 13 Jahren
  Lolbot 23807ea88e fixed 23 files out of 277: vor 13 Jahren
  Benjamin ‘Touky’ Huet 2f85ae6d0a vor 13 Jahren
  Sam Hocevar 5c5abfa53c math: improve slerp implementation. vor 13 Jahren
  jeunathe cbd842b21a Added Slerp method to Quat vor 13 Jahren
  Sam Hocevar f2c269cb1e math: add dot() for quaternions, plus the relevant unit test. vor 13 Jahren
  Sam Hocevar 688c046414 math: add an sprintf() method to real numbers, and ensure they are always vor 13 Jahren
  Sam Hocevar 28728814cc core: replace usage of sin() or std::sin() with lol::sin() where appropriate. vor 13 Jahren
  Sam Hocevar 8375f3443d build: fix the PS3 port by using our trig.h everywhere instead of stdlib vor 13 Jahren
  Sam Hocevar c035a1c2b7 core: fix a few build warnings and remove useless operators from the vor 13 Jahren
  Sam Hocevar a71562bd83 core: rename f64vec4 to dvec4 etc. for consistency with GLSL. vor 14 Jahren
  Sam Hocevar bd5ff72507 math: declare some HLSL-compliant types. vor 14 Jahren
  Sam Hocevar 59ba6e6c87 core: no longer deactivate std::ostream features on Android. vor 14 Jahren
  Sam Hocevar 43b55669a4 math: workaround for an apparent Visual Studio compiler bug in vor 14 Jahren
  Sam Hocevar b1d9c511bf core: some clang and g++ 4.7 compilation fixes. vor 14 Jahren
  Sam Hocevar 4770daf4ac math: replace len(vec) with length(vec) to match the GLSL naming. vor 14 Jahren
  Sam Hocevar f30105e675 math: implement all Euler conversions for 3×3 matrices. vor 14 Jahren
  Sam Hocevar 552dfee5b1 math: implement quaternion creation from true Euler angles (as opposed vor 14 Jahren
  Sam Hocevar da6062de06 core: add methods to set the camera's view matrix. vor 14 Jahren
  Sam Hocevar e1d0beae1a math: support all Tait-Bryan angle combinations in quaternions. vor 14 Jahren
  Sam Hocevar c276dbb1ff math: allow to write 1.f / q to take a quaternion's inverse. vor 14 Jahren
  Sam Hocevar 2d34fd8358 core: reduce compilation time by about 30% by playing with namespaces vor 14 Jahren
  Sam Hocevar ecda7cd569 math: replace mat3::rotate(quat) with an explicit constructor, and add vor 14 Jahren
  Sam Hocevar 5ff96967a0 math: add Quat::transform() to directly apply a quaternion to a vector. vor 14 Jahren
  Sam Hocevar e91c326f57 math: add methods to convert from a quaternion to Euler angles and from vor 14 Jahren
  Sam Hocevar fceeaf1c74 math: add quat::fromeuler static constructor for quaternions. vor 14 Jahren
  Sam Hocevar 1bc2a7d705 build: fix compilation on Windows by undefining the min and max macros vor 14 Jahren
  Sam Hocevar ade0514b15 math: add min(), max() and clamp() for half, real and vector types. vor 14 Jahren
  Sam Hocevar 8325d8889c math: chage quaternion constructor to wxyz order because it matches the vor 14 Jahren
  Sam Hocevar e1070c3b3c debug: do not use std::abort() on the PS3. vor 14 Jahren
  Sam Hocevar bed2d554c1 math: new mat3::scale() and mat4::scale() methods. vor 14 Jahren
  Sam Hocevar 3e3b254423 math: implement rotate() for mat3 in addition to mat4. vor 14 Jahren
  Sam Hocevar 9dad69c630 math: allow to easily create a 4x4 matrix from a 3x3 matrix, and so on. vor 14 Jahren
  Sam Hocevar f1c0e3ba4e gpu: add methods to send mat2 and mat3 matrices to the shader. vor 14 Jahren
  Sam Hocevar be4935c19c math: add code to build the normal matrix from a transformation matrix. vor 14 Jahren
  Sam Hocevar eb51928415 math: add inversion code for 2×2 and 3×3 matrices, and transposition vor 14 Jahren
  Sam Hocevar 8da2f504a8 debug: use std::abort() instead of a custom idiocy. vor 14 Jahren
  Sam Hocevar 4e4d5a8e06 build: fix GCC build; it doesn't like to have a local file called debug/debug.h. vor 14 Jahren
  Sam Hocevar b34088e5bd math: add mat2 and mat3 types; they'll be useful. vor 14 Jahren