1
0
Fork 0
Commit graph

16 commits

Author SHA1 Message Date
910bad0fb7 source/Math/Transform.cpp: Style fixes. 2023-08-18 17:54:37 +02:00
43354fc9b4 Spectre/Math: rename all vector length() and normalize() functions to len() and normal() 2023-04-30 23:07:25 +02:00
4a6a20342d Spectre/Math/Time: minor fixes and documentation 2023-04-30 23:02:16 +02:00
b9936e5867 source/Math/Logarithm.cpp: include cmath directly instead of cstdlib 2023-04-30 15:58:29 +02:00
ff44ec7b7a source/Math/Logarithm.cpp: c++11/C99 has log2 in cmath. not sure why i didnt use it. 2023-04-30 15:55:20 +02:00
6de6028ba4 Adding Spectre/Math/Time 2020-12-16 16:33:32 +01:00
a4a691fd48
Math/Transform.cpp: use transform/scale/ratation functions from Math.h 2020-02-14 23:31:15 +01:00
a6e6b915e6
Math/Math: Remove getTranslate(), getUpVector() and getForwardVector() as they are not used. 2020-02-12 19:54:52 +01:00
532c6dafaf
Math/Math: translate/scale functions should not accept vectors, but rather individual parameters.
This is "low level" functions. Used by other math classes/functions.
2020-02-12 19:42:50 +01:00
18ea713445
Math/Transform.cpp: minor fixes. 2020-02-12 19:29:02 +01:00
76d175ffd9
Math/Transform: rename multiply() to combine() 2020-02-12 19:27:41 +01:00
1194128627
Math/Transform.cpp: indent fixes. 2020-02-12 19:20:20 +01:00
4df668e68f
Minor formating fixes. 2019-12-29 22:26:05 +01:00
e10daeaaa6
Move everything from global namespace to "sp" namespace
When writing the X11 (linux) implementation there was a problem with X11 defining a "Display" type and we also have a Display class in the engine.

So to fix that problem and minimize the risk for running into other name conflicts. We move everything from global namespace.
2019-09-30 19:10:17 +02:00
482ce62023
source/Math/Math.cpp: removed comment. 2019-04-29 10:56:14 +02:00
edfc5298e1 Initial commit 2016-01-10 09:26:43 +01:00