Commit Graph

336 Commits

Author SHA1 Message Date
Jack Andersen 0756f4ec76 add CColor::writeRGBA8 2018-03-27 22:07:14 -10:00
Jack Andersen ca54d1b54d Add CVector3f::isMagnitudeSafe() 2018-03-03 18:25:21 -10:00
Jack Andersen 527b503bd7 Make vectors and quaternions implicitly convertible to athena vectors 2018-02-23 20:16:08 -10:00
Jack Andersen 5282ae6308 Additional CVector2f operators 2018-02-14 18:35:47 -10:00
Jack Andersen 26ea606a09 Add `double` version of close_enough 2018-02-09 20:25:31 -10:00
Jack Andersen f82efe0583 Minor performance improvement 2018-01-06 19:18:57 -10:00
Jack Andersen c466fd21d1 Add highestFeature check to cpuid users 2018-01-01 18:23:04 -10:00
Jack Andersen 10d389ffda Huge compile performance refactor 2017-12-28 22:06:22 -10:00
Jack Andersen bf25b17ea9 Fix architecture detection macros for Windows 2017-12-26 18:09:19 -10:00
Jack Andersen 9216f4e97f Merge branch 'master' of ssh://gitlab.axiodl.com:6431/AxioDL/zeus 2017-12-26 14:47:52 -10:00
Jack Andersen 439da78fa6 Support for detecting AVX and AVX2 ISA 2017-12-26 14:47:31 -10:00
Jack Andersen 0b8af4b75d GCC compile fix 2017-12-22 19:36:57 -10:00
Jack Andersen f0df551237 Remove pointless condition 2017-12-19 20:06:01 -10:00
Jack Andersen 692dc1adfb Add AVX intrinsics for CVector3d 2017-12-18 17:02:59 -10:00
Jack Andersen b29b181570 Fix zeustest 2017-12-17 17:09:07 -10:00
Jack Andersen 9ab271cd04 Make vector float constructors `explicit` 2017-12-17 16:54:05 -10:00
Jack Andersen 1535b3efcd Merge branch 'master' of ssh://gitlab.axiodl.com:6431/AxioDL/zeus 2017-12-17 13:05:21 -10:00
Jack Andersen f5f38ac827 Various fixes 2017-12-17 13:05:05 -10:00
Jack Andersen 50f47d6455 Remove SSE4 runtime checks 2017-12-15 15:32:06 -10:00
Jack Andersen b438e30060 CQuaternion fixes 2017-12-15 14:16:40 -10:00
Jack Andersen b359ff96d0 Remove SSELegacy.cpp and add validateCPU() 2017-12-11 16:03:39 -10:00
Jack Andersen 4134568660 Minor literal fix 2017-12-01 18:52:05 -10:00
Jack Andersen 9a22f0c5ed Rewrite Matrix to Quaternion conversion 2017-11-29 15:22:14 -10:00
Jack Andersen 5b3ab7ac22 Fix frustum culling 2017-11-27 16:46:40 -10:00
Jack Andersen bad3038132 Add operator[] asserts 2017-11-23 22:21:18 -10:00
Jack Andersen c5f9137df8 CFrustum fixes 2017-11-21 12:17:16 -10:00
Phillip Stephens b94b2cdd02 Fix `CVector3f::canBeNormalized` 2017-11-18 01:17:40 -08:00
Jack Andersen f370b22b3b CEulerAngle Quaternion constructor fix 2017-11-17 17:34:53 -10:00
Jack Andersen 8013e19baf Require CMake 3.10 2017-11-13 18:53:41 -10:00
Jack Andersen db38dd95f7 Use C++17 2017-11-12 20:14:37 -10:00
Jack Andersen de6dc86596 Fix CQuaternion::transform and CNUQuaternion 2017-11-11 19:13:05 -10:00
Jack Andersen 3d377124c1 Implement CQuaternion::angleFrom() 2017-10-28 20:21:23 -10:00
Jack Andersen 0e792b213a Minor API tweaks 2017-10-14 19:24:17 -10:00
Jack Andersen 141b803c66 constexpr for clamp, min/max, and degree-radian converters 2017-10-09 17:49:54 -10:00
Jack Andersen 16985b0e9b Add CPlane::rayPlaneIntersection 2017-09-17 17:02:19 -10:00
Jack Andersen 9d40c78f6e Give CRelAngle signed value support 2017-09-16 17:04:23 -10:00
Jack Andersen 7e02e40cb2 Merge branch 'master' of https://github.com/AxioDL/zeus 2017-07-30 19:18:26 -10:00
Jack Andersen 2c19667f42 Add invalid state for CFrustum (always passes tests) 2017-07-30 19:17:57 -10:00
Phillip Stephens 0b67ecf073 Add `MakeRotationsBasedOnY` to CTransform 2017-07-30 00:43:44 -07:00
Jack Andersen bf13f1f49c Add M_SQRT1_2F constant 2017-07-26 19:15:22 -10:00
Jack Andersen 13949b249e Additional quaternion functions 2017-07-13 19:12:21 -10:00
Jack Andersen a8764732dc Various matrix and quaternion imps 2017-07-09 18:55:12 -10:00
Jack Andersen 988da2267f make OBBIntersectsBox const 2017-07-02 17:33:51 -10:00
Jack Andersen 07eb5e52ed Fix CAABox::getPoint 2017-06-30 17:23:17 -10:00
Jack Andersen 8c1ddd86b1 Make CSphere::getSurfaceNormal const 2017-06-29 15:38:57 -10:00
Jack Andersen b420a1af93 Make CLineSeg::getEdge const 2017-06-25 15:36:03 -10:00
Jack Andersen e4a8fc868b apply CMAKE_CXX_STANDARD 2017-06-17 16:53:08 -10:00
Jack Andersen 328a1519a0 Ensure CMAKE_OSX_SYSROOT is added for SSELegacy.cpp 2017-06-09 18:31:32 -10:00
Jack Andersen 8bcecd4cda Merge pull request #5 from cylgom/master
Unreachable ctors and missing includes
2017-06-08 08:27:49 -10:00
cylgom 92290663a9 Squashed commit of the following:
commit 7ee57f731293285cf6506549e651a338670fb953
Author: cylgom <cylgom@gmail.com>
Date:   Thu Jun 8 21:57:13 2017 +0200

    fixed commits indentation

commit 5b948329ba66d64c569b4067b50be5c9593d316b
Author: cylgom <cylgom@gmail.com>
Date:   Thu Jun 8 20:39:45 2017 +0200

    moved CQuaternion ctor out of athena-dependant compiler directives

commit 7d9bb58ba28b5fc4d43e1ff87a843dc4ae42d048
Author: cylgom <cylgom@gmail.com>
Date:   Thu Jun 8 20:30:43 2017 +0200

    added required headers in CTransform.hpp

commit da0d9ef76b23eaf233a5c3a58a6c1219b80d7c71
Author: cylgom <cylgom@gmail.com>
Date:   Thu Jun 8 20:28:46 2017 +0200

    moved CVector3f ctor out of athena-dependant compiler directives

commit e08199c749dfd1762afd4b75f2f871bd5a86907b
Author: cylgom <cylgom@gmail.com>
Date:   Thu Jun 8 20:12:43 2017 +0200

    fixed const inline arrays

commit 7084b6af2107ec390011f82a14424b8f0142f354
Author: cylgom <cylgom@gmail.com>
Date:   Thu Jun 8 20:11:09 2017 +0200

    fixed empty flags replacement in CMakeLists

fixed unreachable ctors and missing includes
2017-06-08 22:01:41 +02:00