Commit Graph

24 Commits

Author SHA1 Message Date
Luke Street 6547f76752 Remove error-causing constexprs 2022-05-31 20:17:23 -04:00
Luke Street 566db657d9 Add NEON support & more constexpr 2020-10-20 02:25:44 -04: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 f03714bdbd CMatrix3f: Use std::array where applicable 2019-09-03 14:49:28 -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 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 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 20603da60d Convert to pragma once 2018-10-06 17:39:40 -10:00
Jack Andersen b1b4903cb1 Warning avoidance 2018-05-24 20:38:51 -10:00
Jack Andersen 10d389ffda Huge compile performance refactor 2017-12-28 22:06:22 -10:00
Jack Andersen a8764732dc Various matrix and quaternion imps 2017-07-09 18:55:12 -10:00
Jack Andersen 5551fccc5d CMatrix3f Rotation constructors 2017-04-01 17:03:04 -10:00
Jack Andersen a7545579cc Add some static athena readers 2017-01-21 15:36:46 -10:00
Phillip Stephens 7d77992ed7 Add equality operators for CTransform and CMatrix3f 2016-12-12 18:54:54 -08:00
Jack Andersen b15e66a710 Bulk-run of clang-format 2016-07-08 08:42:42 -10:00
Jack Andersen 3925f8509e alternate matrix transpose code-path for pre-SSE4.1 2016-07-04 12:28:59 -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 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 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