Commit Graph

110 Commits

Author SHA1 Message Date
Jack Andersen 954978454b Add CAABox::skNullBox 2016-04-16 11:49:09 -10:00
Jack Andersen cfc5d55419 Const correctness fixes 2016-04-15 17:23:54 -10:00
Jack Andersen e284c2de31 Order-of-operations optimization with degrees/radians conversion 2016-04-14 17:00:51 -10:00
Jack Andersen 69b384e48c Const correctness on some CAABox methods 2016-04-14 11:42:16 -10:00
Jack Andersen d84d38a1a3 Add scale matrix constructor 2016-04-13 13:06:50 -10:00
Jack Andersen f17f2371bf add CMatrix3f::addScaledMatrix 2016-04-12 12:27:38 -10:00
Jack Andersen 286d098ecb Proper SFINAE usage on PopCount 2016-04-09 13:18:46 -10:00
Jack Andersen eb2968304b More stable Matrix->Quat constructor 2016-04-08 14:00:48 -10:00
Jack Andersen 5aae3cdbc6 Merge branch 'master' of https://github.com/AxioDL/zeus 2016-04-07 17:36:21 -10:00
Jack Andersen c16f25db09 Add matrix to quaternion constructor 2016-04-07 17:35:16 -10:00
Jack Andersen 4dea46aa65 Fix CQuaternion subscript bug 2016-04-07 16:39:36 -10:00
Jack Andersen baaca3136b WXYZ quaternion layout 2016-04-06 17:39:24 -10:00
Jack Andersen 65a49aca92 Non-inverted lookAt implementation 2016-04-04 15:50:27 -10:00
Jack Andersen 9762710b85 Add color self-clamp 2016-04-03 19:01:27 -10:00
Jack Andersen 1f7088e5eb Proper CTransform::multiplyIgnoreTranslation return value 2016-03-30 20:18:05 -10:00
Jack Andersen f9f432be97 Unnecessary const qualification 2016-03-15 13:23:07 -10:00
Jack Andersen 33c357ecc6 ZE_ATHENA_TYPES readers are now explicit-endian 2016-03-13 14:57:31 -10:00
Jack Andersen 8154c82d78 made CTransform::rotate a const transform func only 2016-03-10 14:22:22 -10:00
Jack Andersen b721e09ef5 CTransform::orthonormalize added 2016-03-09 17:47:01 -10:00
Jack Andersen a76d43d5df Humungous refactor 2016-03-04 13:03:26 -10:00
Phillip Stephens cd28979d0a Add TVectorUnion constructor for static init 2016-02-23 20:48:42 -08:00
Phillip Stephens 4b920754e9 Merge commit '17f1' 2016-02-23 20:43:05 -08:00
Phillip Stephens 17f1cda1c0 Use CVector4f instead of atVec4f 2016-02-23 20:40:14 -08:00
Phillip Stephens e909f08838 We define types for components, use them
Use multiplication for char -> float conversion for speed
2016-02-22 21:27:51 -08:00
Jack Andersen a857250ccf Routines to support line rendering 2016-02-17 16:40:58 -10:00
Jack Andersen b4ed5b78dc Merge branch 'master' of https://github.com/AxioDL/MathLib 2016-02-16 17:38:32 -10:00
Jack Andersen fc122384bd MSVC constructor fixes 2016-02-16 17:37:43 -10:00
Phillip Stephens bfb1f4fee3 Fix transposed size
Add check for availability
2016-02-16 18:20:17 -08:00
Phillip Stephens a8ee545c63 Fix CPU Brand 2016-02-16 18:14:39 -08:00
Jack Andersen f7fb4b0ecc Merge branch 'master' of https://github.com/AxioDL/MathLib 2016-02-15 19:50:10 -10:00
Jack Andersen 876a6030bb More CTransform affine operators 2016-02-15 19:49:52 -10:00
Phillip Stephens ce2256c457 Fix brand retrieval 2016-02-15 09:32:49 -08:00
Jack Andersen bd88f654a9 Various optimizations 2016-02-14 17:57:57 -10:00
Jack Andersen bbb81c96b8 Add ceilingPowerOf2 2016-02-13 17:52:00 -10:00
Jack Andersen 082cac124c Add CVector2i class 2016-02-13 17:39:47 -10:00
Jack Andersen 033bfd71e1 Zeus::CTransform::Translate() 2016-02-12 14:56:30 -10:00
Jack Andersen 3f3043dc1f PopCount fix 2016-02-11 16:34:40 -10:00
Jack Andersen 3d3913a6c6 Add Zeus::Math::PopCount 2016-02-11 16:29:35 -10:00
Jack Andersen f590255b5f Alternate CAABox::accumulateBounds 2016-02-11 12:37:50 -10:00
Jack Andersen 4a5d21e9b8 Add CTransform::rotateLocal methods 2016-02-10 16:35:37 -10:00
Jack Andersen 698801a160 Add identity builder for CTransform 2016-02-07 19:09:40 -10:00
Jack Andersen cf0bae88ff Add atVec4f constructor to CColor 2016-02-07 13:57:59 -10:00
Phillip Stephens a2d7c21a7e rotate* helper functions 2016-02-02 00:29:16 -08:00
Phillip Stephens 8c801b26b8 Enable atdna for CQuaternion 2016-01-17 14:40:48 -08:00
Phillip Stephens 6256903a4d I'm dumb 2016-01-17 07:56:45 -08:00
Phillip Stephens 7f08bf47f1 GCC is dumb 2016-01-17 07:55:45 -08:00
Phillip Stephens 3113307e6c Use a union and move real component in CQuaternion 2016-01-16 21:48:20 -08:00
Phillip Stephens 0594099ccd Merge commit '1bef2b2' 2016-01-16 15:17:13 -08:00
Phillip Stephens 1bef2b2847 Enable atdna on CVector*f when ZE_ATHENA_TYPES is defined 2016-01-16 15:16:30 -08:00
Phillip Stephens e1fbd991b6 Forgot to pass alpha 2016-01-05 17:45:06 -08:00