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
2edc75f793
CColor clamp for all arithmetic ops
2019-03-23 22:06:25 -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
4352f0d4a9
Add identity transform constant
2018-12-14 20:29:14 -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
e572a46949
Mark a method const
2018-11-12 21:54:52 -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
f82efe0583
Minor performance improvement
2018-01-06 19:18:57 -10:00
Jack Andersen
10d389ffda
Huge compile performance refactor
2017-12-28 22:06:22 -10:00
Jack Andersen
f370b22b3b
CEulerAngle Quaternion constructor fix
2017-11-17 17:34:53 -10:00
Phillip Stephens
0b67ecf073
Add `MakeRotationsBasedOnY` to CTransform
2017-07-30 00:43:44 -07:00
cylgom
92290663a9
Squashed commit of the following:
...
commit 7ee57f731293285cf6506549e651a338670fb953
Author: cylgom <cylgom@gmail.com>
Date: Thu Jun 8 21:57:13 2017 +0200
fixed commits indentation
commit 5b948329ba66d64c569b4067b50be5c9593d316b
Author: cylgom <cylgom@gmail.com>
Date: Thu Jun 8 20:39:45 2017 +0200
moved CQuaternion ctor out of athena-dependant compiler directives
commit 7d9bb58ba28b5fc4d43e1ff87a843dc4ae42d048
Author: cylgom <cylgom@gmail.com>
Date: Thu Jun 8 20:30:43 2017 +0200
added required headers in CTransform.hpp
commit da0d9ef76b23eaf233a5c3a58a6c1219b80d7c71
Author: cylgom <cylgom@gmail.com>
Date: Thu Jun 8 20:28:46 2017 +0200
moved CVector3f ctor out of athena-dependant compiler directives
commit e08199c749dfd1762afd4b75f2f871bd5a86907b
Author: cylgom <cylgom@gmail.com>
Date: Thu Jun 8 20:12:43 2017 +0200
fixed const inline arrays
commit 7084b6af2107ec390011f82a14424b8f0142f354
Author: cylgom <cylgom@gmail.com>
Date: Thu Jun 8 20:11:09 2017 +0200
fixed empty flags replacement in CMakeLists
fixed unreachable ctors and missing includes
2017-06-08 22:01:41 +02:00
Jack Andersen
68612ccd4c
Add column-constructor for CTransform
2017-03-04 21:56:20 -10:00
Jack Andersen
69627f4bf3
Make vector constants class-scope
2017-02-11 17:48:21 -10:00
Jack Andersen
6f215040f4
Make CTransform::buildMatrix3f() return reference
2017-02-11 17:16:29 -10:00
Phillip Stephens
7d77992ed7
Add equality operators for CTransform and CMatrix3f
2016-12-12 18:54:54 -08:00
Phillip Stephens
d03f1157dd
Helper functions for CTransform and CQuaternion
2016-09-13 22:12:25 -07:00
Jack Andersen
f4dd896004
Add CTransform::printMatrix
2016-09-05 19:51:48 -10:00
Phillip Stephens
fb91979596
Add CMatrix constructor for CQuaternion, close_enough helper, and CTransform constness fix
2016-08-31 21:08:46 -07:00
Jack Andersen
b15e66a710
Bulk-run of clang-format
2016-07-08 08:42:42 -10:00
Phillip Stephens
c36927076c
Remove m_ from all non-private members
2016-04-29 01:44:58 -07:00
Jack Andersen
0c968842ae
Add RowMajor matrix reader
2016-04-18 14:17:19 -10:00
Jack Andersen
1f7088e5eb
Proper CTransform::multiplyIgnoreTranslation return value
2016-03-30 20:18:05 -10:00
Jack Andersen
8154c82d78
made CTransform::rotate a const transform func only
2016-03-10 14:22:22 -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