41 Commits (3e9d3e323b4f62e0702df51c1418ebddd36df1c4)

Autor SHA1 Mensaje Fecha
  Sam Hocevar 3e9d3e323b math: build quaternions from rotation matrices and conversely. hace 14 años
  Sam Hocevar def84d569d core: implement a quaternion class and tighten some vector operation rules hace 14 años
  Sam Hocevar 01ebcec3b8 core: split vector operations into linear and non-linear so that we can hace 14 años
  Sam Hocevar 3978ea9e2a core: fix bugs in mat4::lookat() and mat4::perspective(), and ensure these hace 14 años
  Sam Hocevar 4a16c072f2 core: new combinations of integer vectors (unsigned, 8-bit, etc.), dot and hace 14 años
  Sam Hocevar 6767dae741 core: disallow casting eg. a vec3 into a vec2. Use the xy() getter instead. hace 14 años
  Sam Hocevar 7b7d4fe003 build: stop defining ANDROID_NDK and check for __ANDROID__ instead. hace 14 años
  Sam Hocevar 70fdf1cadb core: add std::ostream operators for vector and matrix classes. hace 14 años
  Sam Hocevar 2b9d64f7a8 core: more vec?i -> ?veci renames. hace 14 años
  Sam Hocevar 6bbe943492 core: rename vec2i to ivec2 etc. to better match GLSL. hace 14 años
  Sam Hocevar 28bda9a25b core: fix a bug in vector casts; vec2 -> vec3 promotion for instance would hace 14 años
  Sam Hocevar 3213d5b7a5 core: add the unary minus operator to vectors. hace 15 años
  Sam Hocevar 00625f76e9 core: don't explicitly use std:: prefix when the platform may not hace 15 años
  Sam Hocevar 3d4af0869a ps3: start a minimal PS3 port using PSGL, but not CG yet. hace 15 años
  Sam Hocevar 7329692663 math: implement vector comparisons and add minimal unit tests for this hace 15 años
  Sam Hocevar 22b7a41c2e core: fix include guard naming scheme. hace 15 años
  Sam Hocevar 0d6f9ef185 Basic utility function to display matrices. hace 15 años
  Sam Hocevar 8848cf53db Put everything in the "lol" namespace. Better late than never. hace 15 años
  Sam Hocevar 6405ef32ea Get rid of float3, float4, int3 etc. in favour of GLSL types. hace 15 años
  Sam Hocevar dde16a9dd6 Implement +=, -= and *= for matrices and vectors. hace 15 años
  Sam Hocevar e1d6dbebce Implement float4x4::rotate(). hace 15 años
  Sam Hocevar a17ef2ca4c Implement float4x4::ortho() and float4x4::translate(). hace 15 años
  Sam Hocevar b9c013e665 Implement float4x4::frustum() and float4x4::perspective() to build hace 15 años
  Sam Hocevar 4b484d5bc8 Make the float4x4 constructor fill only the matrix's diagonal. Thus hace 15 años
  Sam Hocevar 7015943141 Add matrix determinant and inverse methods. hace 15 años
  Sam Hocevar c2584020aa Do not zero vector memory upon initialisation. Unitialised is uninitialised. hace 15 años
  Sam Hocevar 65c69e11db Create a few matrix handling classes and operators. hace 15 años
  Sam Hocevar 502deb7597 Fix a few warnings here and there, and try to use the vector classes. hace 15 años
  Sam Hocevar f76b95f200 Rename Float3 to float3, Int3 to int3 etc. and add the 4-member versions. hace 15 años
  Sam Hocevar 0dfc497814 Add pseudorandom functions for floats. hace 15 años
  Sam Hocevar c89d05d7e6 Add a utility function to compute the power of two above. hace 15 años
  Sam Hocevar 2bf9fd3dc7 Implement vector equality comparisons. hace 15 años
  Sam Hocevar dc45c9e426 Implement vector square length. hace 15 años
  Sam Hocevar 705c39d63a Various vector operators including casts and scalar-vector operations. hace 15 años
  Sam Hocevar ae23572b18 Implement vector addition, subtraction etc. as well as euclidian distance. hace 15 años
  Sam Hocevar fb2ff4580f Implement simple + and - operators for Int2, Float2 etc. hace 15 años
  Sam Hocevar dc9b607923 Allow to access Int2, Float2 etc. members using []. hace 15 años
  Sam Hocevar 7547458efc Float2 and Float3 are now templates, thus creating Int2 and Int3. hace 15 años
  Sam Hocevar 0ed566d3cc Complete Lol Engine / Deus Hax / Monsterz split. hace 15 años
  Sam Hocevar 6223c37bb2 Proper Float3 constructors. hace 15 años
  Sam Hocevar 988f7c2885 Replace mouse scrolling with a joystick simulated by the e/s/d/f keys. hace 15 años