Commit Graph

21 Commits

Author SHA1 Message Date
Phillip Stephens e9c0fe7a6e
Remove athena types 2022-02-27 20:46:10 -08:00
Lioncash 81f9b4a4ee General: Mark functions as nodiscard where applicable
Given this aims to be a general purpose math library for use in various
other libraries applications for axiodl, we can annotate functions that
return by value or reference with [[nodiscard]] where it's very obvious
that not making use of the return value is a bug.

This allows the compiler to diagnose and emit warnings for these API
misuses at compile-time, preventing silent bugs from occurring.

Any cases where not using the return value is desirable may still be
casted to void in order to silence warnings.
2020-03-04 03:07:54 -05: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
Lioncash dafc850598 zeus: Amend inclusions
Trims out unused headers and ensures the necessary includes are
included.
2019-09-01 04:30:53 -04:00
Jack Andersen a240b39a11 COBBox::FromAABox fix 2019-03-07 18:15:58 -10:00
Jack Andersen b854e76dc9 constexpr refactor 2019-02-23 21:15:32 -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 01019f9602 Fix COBBox intersection test 2018-11-08 14:25:26 -10:00
Jack Andersen 20603da60d Convert to pragma once 2018-10-06 17:39:40 -10:00
Jack Andersen 988da2267f make OBBIntersectsBox const 2017-07-02 17:33:51 -10:00
Phillip Stephens ad74069739 Add intersection test for COBBox 2017-01-23 02:10:35 -08:00
Phillip Stephens e7a72d02b1 Add CAABox::booleanIntersection 2017-01-20 21:57:34 -08:00
Phillip Stephens 17a42c15e2 Add static ReadRGBABig to CColor 2016-12-22 12:35:29 -08:00
Jack Andersen b15e66a710 Bulk-run of clang-format 2016-07-08 08:42:42 -10:00
Phillip Stephens 68b5c47e25 Implement unimplemented COBBox constructor 2016-06-25 18:11:55 -07:00
Phillip Stephens c36927076c Remove m_ from all non-private members 2016-04-29 01:44:58 -07:00
Phillip Stephens 48b0aa4601 Rename COBBox members to be consistent 2016-04-26 19:39:56 -07:00
Phillip Stephens ac98ebf428 Various fixes and implementations 2016-04-26 03:36:44 -07:00
Jack Andersen a76d43d5df Humungous refactor 2016-03-04 13:03:26 -10:00