Commit Graph

187 Commits

Author SHA1 Message Date
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
Phillip Stephens 2a3401ade9 Underp toGrayscale 2016-01-05 14:55:44 -08:00
Phillip Stephens 0ec87939d2 Add toGrayscale 2016-01-04 23:49:12 -08:00
Jack Andersen 3d6218a9d2 Added CVector2f::assign 2015-11-29 14:21:26 -10:00
Jack Andersen 9885d34420 Added skClear 2015-11-28 16:55:05 -10:00
Jack Andersen f075c38a4c Windows fix 2015-11-27 12:19:54 -10:00
Jack Andersen a13928491e Added CVector4f::assign() 2015-11-25 21:35:11 -10:00
Phillip Stephens 24886ff8c7 Build Fixes 2015-11-25 18:38:43 -08:00
Phillip Stephens a073e690cd SSE Fixes
CColor <-> CVector4f implicit casting
2015-11-25 17:42:24 -08:00
Phillip Stephens ef0c2e6104 Merge branch 'color-float' 2015-11-25 17:27:20 -08:00
Phillip Stephens b172f023fb Convert CColor back to floating point 2015-11-25 17:26:23 -08:00
Jack Andersen dc5c903a0d Assign method for CVector3f 2015-11-25 14:23:29 -10:00
Jack Andersen 8d54a3c7b5 include fixup 2015-11-24 15:45:58 -10:00
Jack Andersen 116afa6fc3 windows enum refactor fixes 2015-11-20 17:00:18 -10:00
Jack Andersen b757bcd368 Major scoped-enum refactor 2015-11-20 15:14:10 -10:00
Jack Andersen fca8742f99 Windows build fixes 2015-11-10 10:02:25 -10:00
Phillip Stephens 8937bfc0c6 Merge branch 'master' of https://github.com/AxioDL/MathLib 2015-11-08 19:40:03 -08:00
Phillip Stephens 35a6a511d8 Add forgotten CMRay 2015-11-08 19:39:51 -08:00
Phillip Stephens d5bb17d994 Move HSL/HSV ops to implementation
Fix broken static color declarations
2015-11-05 20:09:33 -08:00
Phillip Stephens 12631bdc60 Add HSL to CColor 2015-11-05 19:52:47 -08:00
Phillip Stephens 40ca0c3219 More reimplementations 2015-11-02 10:44:46 -08:00
Phillip Stephens 9965f5846d Decouple Athena usage
Convert CColor from RGBAf32 to RGBA8
2015-11-01 04:04:29 -08:00
Phillip Stephens e1baf3631b Add Athena constructor to CMatrix3f 2015-10-25 13:20:53 -07:00
Phillip Stephens dbbd3c76ef Reimplementation 2015-10-25 12:31:41 -07:00