41 Révisions (3e9d3e323b4f62e0702df51c1418ebddd36df1c4)

Auteur SHA1 Message Date
  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 6767dae741 core: disallow casting eg. a vec3 into a vec2. Use the xy() getter instead. 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 2b9d64f7a8 core: more vec?i -> ?veci renames. il y a 14 ans
  Sam Hocevar 6bbe943492 core: rename vec2i to ivec2 etc. to better match GLSL. il y a 14 ans
  Sam Hocevar 28bda9a25b core: fix a bug in vector casts; vec2 -> vec3 promotion for instance would il y a 14 ans
  Sam Hocevar 3213d5b7a5 core: add the unary minus operator to vectors. il y a 15 ans
  Sam Hocevar 00625f76e9 core: don't explicitly use std:: prefix when the platform may not il y a 15 ans
  Sam Hocevar 3d4af0869a ps3: start a minimal PS3 port using PSGL, but not CG yet. il y a 15 ans
  Sam Hocevar 7329692663 math: implement vector comparisons and add minimal unit tests for this il y a 15 ans
  Sam Hocevar 22b7a41c2e core: fix include guard naming scheme. il y a 15 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 dde16a9dd6 Implement +=, -= and *= for matrices and vectors. 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 b9c013e665 Implement float4x4::frustum() and float4x4::perspective() to build il y a 15 ans
  Sam Hocevar 4b484d5bc8 Make the float4x4 constructor fill only the matrix's diagonal. Thus il y a 15 ans
  Sam Hocevar 7015943141 Add matrix determinant and inverse methods. il y a 15 ans
  Sam Hocevar c2584020aa Do not zero vector memory upon initialisation. Unitialised is uninitialised. il y a 15 ans
  Sam Hocevar 65c69e11db Create a few matrix handling classes and operators. il y a 15 ans
  Sam Hocevar 502deb7597 Fix a few warnings here and there, and try to use the vector classes. il y a 15 ans
  Sam Hocevar f76b95f200 Rename Float3 to float3, Int3 to int3 etc. and add the 4-member versions. il y a 15 ans
  Sam Hocevar 0dfc497814 Add pseudorandom functions for floats. il y a 15 ans
  Sam Hocevar c89d05d7e6 Add a utility function to compute the power of two above. il y a 15 ans
  Sam Hocevar 2bf9fd3dc7 Implement vector equality comparisons. il y a 15 ans
  Sam Hocevar dc45c9e426 Implement vector square length. il y a 15 ans
  Sam Hocevar 705c39d63a Various vector operators including casts and scalar-vector operations. il y a 15 ans
  Sam Hocevar ae23572b18 Implement vector addition, subtraction etc. as well as euclidian distance. il y a 15 ans
  Sam Hocevar fb2ff4580f Implement simple + and - operators for Int2, Float2 etc. il y a 15 ans
  Sam Hocevar dc9b607923 Allow to access Int2, Float2 etc. members using []. il y a 15 ans
  Sam Hocevar 7547458efc Float2 and Float3 are now templates, thus creating Int2 and Int3. il y a 15 ans
  Sam Hocevar 0ed566d3cc Complete Lol Engine / Deus Hax / Monsterz split. il y a 15 ans
  Sam Hocevar 6223c37bb2 Proper Float3 constructors. il y a 15 ans
  Sam Hocevar 988f7c2885 Replace mouse scrolling with a joystick simulated by the e/s/d/f keys. il y a 15 ans