Commit Graph

12 Commits

Author SHA1 Message Date
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 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 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 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 76e20eb4c8 Add CLine 2017-03-30 12:35:40 -10:00
Jack Andersen 726fff8299 Add pointer comments to CMRay 2017-03-28 16:50:27 -10: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 7af2c491da Finish CMRay
Unify paths
2016-04-25 00:30:35 -07:00
Jack Andersen a76d43d5df Humungous refactor 2016-03-04 13:03:26 -10:00