Commit Graph

287 Commits

Author SHA1 Message Date
Lioncash 9058b6bbcc CColor: Use using where applicable
We can also simplify RGBA32's declaration. This also allows the type to
be forward declared.
2019-09-03 14:11:56 -04:00
Phillip Stephens ef23d36916
Merge pull request #8 from lioncash/const
General: Mark member functions as const where applicable
2019-09-01 21:01:23 -07:00
Lioncash f6854d8e82 General: Mark member functions as const where applicable
These don't modify internal member state, so they can be const.
2019-09-01 21:53:57 -04:00
Phillip Stephens 050e86aae8
Merge pull request #7 from lioncash/include
zeus: Amend inclusions
2019-09-01 11:06:45 -07:00
Phillip Stephens 8c18c08abb
Merge pull request #6 from lioncash/const
General: Mark member functions as const where applicable
2019-09-01 11:06:35 -07:00
Lioncash dafc850598 zeus: Amend inclusions
Trims out unused headers and ensures the necessary includes are
included.
2019-09-01 04:30:53 -04:00
Lioncash 61fc6c6fd2 CSphere: Make intersects() a const member function
This member function doesn't modify instance state, so it can be made
const.
2019-09-01 03:59:26 -04:00
Jack Andersen c5d90a5d5e Make simd_floats use std::array for storage 2019-07-20 22:42:27 -10:00
Jack Andersen 48073c783b Move some quaternion functions in-header 2019-06-14 14:38:56 -10:00
Jack Andersen c81eb93b6d Better CMake dependency handling 2019-06-11 16:04:52 -10:00
Jack Andersen 6c13d089fe CColor hash 2019-05-07 17:49:27 -10:00
Jack Andersen 92733a3bb7 Fix some compilation warnings 2019-04-06 19:01:22 -10:00
Jack Andersen 617875531a Implement CAABox::getTri 2019-04-02 18:30:18 -10:00
Jack Andersen 2edc75f793 CColor clamp for all arithmetic ops 2019-03-23 22:06:25 -10:00
Jack Andersen cb4ede8097 Proper getAngleDiff implementations 2019-03-09 23:14:23 -10:00
Jack Andersen a240b39a11 COBBox::FromAABox fix 2019-03-07 18:15:58 -10:00
Jack Andersen 855869b5b1 Windows build fixes 2019-02-23 22:41:50 -10:00
Jack Andersen b854e76dc9 constexpr refactor 2019-02-23 21:15:32 -10:00
Jack Andersen 9b4434e6e0 Ensure correct namespace in simd subsystem 2019-02-17 19:47:20 -10:00
Jack Andersen 31b437e784 GCC simd fix 2019-02-15 15:31:42 -10:00
Jack Andersen 2041ec3156 More flexible conversion constructior from CVector2f->CVector3f 2019-02-10 10:58:27 -10:00
Jack Andersen e32914074a CAABox intersectRadius fixes 2019-02-07 21:56:15 -10:00
Jack Andersen df5e71cde5 CRelAngle visibility fix 2019-01-28 22:27:23 -10:00
Jack Andersen 841c876a66 Add CAABox::projectedPointTest 2019-01-19 20:41:51 -10:00
Jack Andersen 4524fe2dcf Correct CRelAngle behavior 2018-12-16 17:51:14 -10:00
Jack Andersen e6265e3c81 Make CRelAngle use [0,2pi] range 2018-12-15 20:31:17 -10:00
Jack Andersen 4352f0d4a9 Add identity transform constant 2018-12-14 20:29:14 -10:00
Jack Andersen 7df9f9b7ec Correct CVector3f::slerp implementation 2018-12-12 21:36:29 -10:00
Jack Andersen 9799353b35 Windows fixes 2018-12-07 20:44:51 -10:00
Jack Andersen e172225845 New code style refactor 2018-12-07 19:23:50 -10:00
Jack Andersen e8dfecbb6e SIMD refactor 2018-12-07 15:16:50 -10:00
Jack Andersen d881e58f62 Fix COBBox::calculateAABox 2018-11-18 15:19:14 -10:00
Jack Andersen a427e0a8a2 Fix lookAt 2018-11-17 17:59:53 -10:00
Jack Andersen e572a46949 Mark a method const 2018-11-12 21:54:52 -10:00
Jack Andersen 01019f9602 Fix COBBox intersection test 2018-11-08 14:25:26 -10:00
Jack Andersen 18afb32077 Use reciprocal-multiplication for vector-scalar division 2018-11-02 22:44:52 -10:00
Jack Andersen 0fc3e5e9ca CVector2f-CVector2i interop 2018-11-01 22:15:50 -10:00
Jack Andersen 88769bded0 Fix CMRay constructor issue 2018-10-18 09:44:02 -10:00
Jack Andersen 20603da60d Convert to pragma once 2018-10-06 17:39:40 -10:00
Jack Andersen 11cd08a30a Minor fixup of ToClip 2018-06-23 16:39:18 -10:00
Jack Andersen 1347e23597 Add clip-space constructor for CVector4f 2018-06-23 15:01:02 -10:00
Jack Andersen 8a062453ef Fix CAABox::pointInside 2018-06-23 13:08:10 -10:00
Jack Andersen b54121ed9c Various bug fixes 2018-06-21 14:33:34 -10:00
Phillip Stephens d9e88babe2 Fix CAABox::intersects 2018-06-04 12:13:02 -07:00
Jack Andersen 6fbebe0eb7 Fix closest/furthest point functions for CAABox 2018-06-03 15:03:54 -10:00
Jack Andersen baba03bf91 Fix zeusTest build 2018-06-02 20:24:11 -10:00
Jack Andersen 17a501f339 Remove unneeded standard math functions 2018-06-02 20:10:58 -10:00
Jack Andersen b1b4903cb1 Warning avoidance 2018-05-24 20:38:51 -10:00
Jack Andersen d135dee556 CPlane constructor fix 2018-05-19 20:13:36 -10:00
Jack Andersen e94de160ad Add unaligned vector load constructor 2018-05-09 21:22:37 -10:00