41 Ревизии (3e9d3e323b4f62e0702df51c1418ebddd36df1c4)

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