58 Commits

Author SHA1 Message Date
Lioncache dc95594db5 CTransform4f: Make use of [[nodiscard]] 2026-02-21 15:25:24 -05:00
Lioncache d7370edcd2 CTransform4f: Allow for constexpr construction
Same behavior, but allows removing some overhead on startup
2026-02-21 15:21:20 -05:00
Lioncache e6e7f73d76 CMatrix4f: Remove unnecessary zeroing in constructor 2026-02-21 14:43:31 -05:00
Lioncache f75f421fcb CQuaternion: Remove global constants
We already have the static functions available.
2026-02-21 14:38:19 -05:00
Lioncache 90994644e1 CMatrix4f: Convert constants over to constexpr functions
Allows constexpr initialization with them
2026-02-21 14:32:56 -05:00
Lioncache ae1c8df533 CMatrix4f: Make use of [[nodiscard]] 2026-02-21 14:12:17 -05:00
Lioncache 8c3d321e93 CMatrix4f: Allow constexpr construction
Allows for decent initialization if ever necessary.
2026-02-21 14:10:20 -05:00
Lioncache 7c486d0b28 CFrustumPlanes: Make use of [[nodiscard]]
Ensures necessary return values are actually used.
2026-02-21 14:05:12 -05:00
Lioncache b57eead0dd CFrustumPlanes: Allow constructor to be constexpr
At the very least allows for constant initialization.
2026-02-21 13:59:52 -05:00
Lioncache d35dfef187 TString: Remove Format() function 2026-02-11 00:30:10 -05:00
Lioncache 23e72d7859 TString: Remove operator* shorthand
Makes it explicit whenever the underlying data is fetched in a
meaningfully searchable way.
2026-02-10 15:12:28 -05:00
Lioncache 044a6cfcd8 Macros: convert alignment function into template
Same behavior, but strongly typed.
2026-01-16 23:07:30 -05:00
Lioncache 7f20a5ef97 General: Add AXIO_ prefix to header guards
Makes any future potential of a class unlikely.
2026-01-16 22:45:09 -05:00
Lioncache c0ad96fa07 MathUtil: Make header define less generic
MATH_H is quite easy to clash with
2026-01-16 22:28:44 -05:00
Lioncache 9e04565b79 MathUtil: Remove unused math functions 2026-01-16 22:22:46 -05:00
Lioncache e6573b8b52 CQuaternion: Missed one acosf call 2026-01-16 04:32:45 -05:00
Lioncache fb57f5631c CQuaternion: Use generic float function names
Should fix older and sillier GCC versions
2026-01-16 04:24:43 -05:00
Lioncache ee8a34ef71 Flags: Make interface more strongly typed
Also doesn't restrict the enum size to 32-bit enums. We can also rename
the flag macros so that they're unlikely to conflict with anything else
in the future.
2026-01-15 20:56:13 -05:00
Lioncache 620e992787 CQuaternion: Mark constants const
Prevents potential modification.
2026-01-13 22:03:49 -05:00
Lioncache 357d47ff21 CVector4f: Make Write() const
Matches the other vectors.
2026-01-13 21:49:03 -05:00
Lioncache 00f3bef71a IOutputStream: Migrate over to sized names
Makes data type handling more explicit and less verbose (e.g. with
WriteLongLong -> WriteS64)
2026-01-12 15:12:54 -05:00
Lioncache b4f413e935 IInputStream: Rename accessors to specify data size
Gets rid of the silly "Long" usage for 32-bit sizes
2026-01-12 14:14:47 -05:00
Lioncache b5bc9487ae TString: Migrate off BasicTypes.h 2026-01-11 11:41:16 -05:00
Lioncache 3f71c29e68 CQuaternion/NConvexHull: Reduce use of trivial MathUtil functions
We can just delegate to the builtins.
2026-01-11 09:59:47 -05:00
Lioncache 331013a444 CMatrix4f: Make use of std::array 2026-01-08 20:34:46 -05:00