23 Révisions (c7219ff1dd0e25712a05cdcb2b3fe69837fe6112)

Auteur SHA1 Message Date
  Benjamin ‘Touky’ Huet c7219ff1dd New year copyright update. il y a 13 ans
  Sam Hocevar d6634da83f build: fix the WTFPL site URL in all code comments. il y a 13 ans
  Sam Hocevar 2bf4cb668b math: add a uniform scaling matrix constructor. il y a 13 ans
  Sam Hocevar 5c5abfa53c math: improve slerp implementation. il y a 13 ans
  jeunathe 5224a5dd99 Added test in slerp to avoid -1 quat members il y a 13 ans
  jeunathe cbd842b21a Added Slerp method to Quat il y a 13 ans
  Sam Hocevar 28728814cc core: replace usage of sin() or std::sin() with lol::sin() where appropriate. il y a 13 ans
  Sam Hocevar 8375f3443d build: fix the PS3 port by using our trig.h everywhere instead of stdlib il y a 13 ans
  Sam Hocevar 59ba6e6c87 core: no longer deactivate std::ostream features on Android. il y a 13 ans
  Sam Hocevar f30105e675 math: implement all Euler conversions for 3×3 matrices. il y a 13 ans
  Sam Hocevar 552dfee5b1 math: implement quaternion creation from true Euler angles (as opposed il y a 13 ans
  Sam Hocevar da6062de06 core: add methods to set the camera's view matrix. il y a 13 ans
  Sam Hocevar e1d0beae1a math: support all Tait-Bryan angle combinations in quaternions. il y a 13 ans
  Sam Hocevar fad3e434cf math: fix a bug in mat3::fromeuler(). il y a 13 ans
  Sam Hocevar ecda7cd569 math: replace mat3::rotate(quat) with an explicit constructor, and add il y a 13 ans
  Sam Hocevar 032b32271b math: fix a bug in the rotation matrix to quaternion conversion, found il y a 13 ans
  Sam Hocevar e91c326f57 math: add methods to convert from a quaternion to Euler angles and from il y a 13 ans
  Sam Hocevar fceeaf1c74 math: add quat::fromeuler static constructor for quaternions. il y a 13 ans
  Sam Hocevar 8325d8889c math: chage quaternion constructor to wxyz order because it matches the il y a 13 ans
  Sam Hocevar bed2d554c1 math: new mat3::scale() and mat4::scale() methods. il y a 13 ans
  Sam Hocevar 3e3b254423 math: implement rotate() for mat3 in addition to mat4. il y a 13 ans
  Sam Hocevar eb51928415 math: add inversion code for 2×2 and 3×3 matrices, and transposition il y a 13 ans
  Sam Hocevar 56e4332597 build: reorganise math files in a single "math" directory, and get rid of the il y a 13 ans
  Sam Hocevar 2d3307c6b2 math: move cross product out of the .cpp file. il y a 13 ans
  Sam Hocevar 60a2e83d54 xbox: start working on an Xbox/Direct3D port. il y a 13 ans
  Sam Hocevar 6951578bb7 math: minor compilation fixes for Visual Studio. Still does not link. il y a 14 ans
  Sam Hocevar 0a52e68f6f math: rename matrix.h to vector.h and simplify some stuff, especially in il y a 14 ans
  Sam Hocevar c8d5630e4e math: finally get the GLSL-like swizzling to work. il y a 14 ans
  Sam Hocevar d38a79ee3d math: move most vector and matrix member functions to global functions. il y a 14 ans
  Sam Hocevar 433d05964c core: implement complex numbers and add unit tests for these. il y a 14 ans
  Sam Hocevar 3e9d3e323b math: build quaternions from rotation matrices and conversely. il y a 14 ans
  Sam Hocevar def84d569d core: implement a quaternion class and tighten some vector operation rules il y a 14 ans
  Sam Hocevar 01ebcec3b8 core: split vector operations into linear and non-linear so that we can il y a 14 ans
  Sam Hocevar 3978ea9e2a core: fix bugs in mat4::lookat() and mat4::perspective(), and ensure these il y a 14 ans
  Sam Hocevar 4a16c072f2 core: new combinations of integer vectors (unsigned, 8-bit, etc.), dot and il y a 14 ans
  Sam Hocevar 7b7d4fe003 build: stop defining ANDROID_NDK and check for __ANDROID__ instead. il y a 14 ans
  Sam Hocevar 70fdf1cadb core: add std::ostream operators for vector and matrix classes. il y a 14 ans
  Sam Hocevar 3d4af0869a ps3: start a minimal PS3 port using PSGL, but not CG yet. il y a 14 ans
  Sam Hocevar 10b321b204 core: get rid of now useless <cstdio> includes. il y a 14 ans
  Sam Hocevar 1e5624d551 core: create a logger class to reduce printf usage. il y a 14 ans
  Sam Hocevar 0d6f9ef185 Basic utility function to display matrices. il y a 15 ans
  Sam Hocevar 8848cf53db Put everything in the "lol" namespace. Better late than never. il y a 15 ans
  Sam Hocevar 6405ef32ea Get rid of float3, float4, int3 etc. in favour of GLSL types. il y a 15 ans
  Sam Hocevar e1d6dbebce Implement float4x4::rotate(). il y a 15 ans
  Sam Hocevar a17ef2ca4c Implement float4x4::ortho() and float4x4::translate(). il y a 15 ans
  Sam Hocevar dcc0087455 Fix a nasty bug in the float4x4::frustum() computation. il y a 15 ans
  Sam Hocevar b9c013e665 Implement float4x4::frustum() and float4x4::perspective() to build il y a 15 ans
  Sam Hocevar 7015943141 Add matrix determinant and inverse methods. il y a 15 ans