SirLynix
caf8446707
Math: Remove Algorithm file and move string functions to StringExt
2023-06-06 08:59:58 +02:00
Jérôme Leclercq
1a55b550fb
Improve math module ( #396 )
...
* Improve math module
- Mark almost everything constexpr
- Equality (a == b) is now exact, down to the bit level. If you want approximate equality use the new ApproxEqual method/static method
- Rename Nz::Extend to Nz::Extent
- Removed Make[] and Set[] methods in favor of their static counterpart and operator=
2023-06-02 22:30:51 +02:00
SirLynix
99c8027fd0
Remove .inl inclusion of their .hpp files
...
It has no real purpose and is breaking Clang parsing
2023-03-10 13:33:10 +01:00
SirLynix
f98cbcd00a
Copyright year update
2023-01-22 17:41:18 +01:00
SirLynix
2243d0b1a7
Move free operator overloads inside Nz namespace
2022-12-29 12:15:22 +01:00
SirLynix
364d1bafb4
Math: Add support for Turn angles
2022-09-26 19:09:30 +02:00
Jérôme Leclercq
01061380ee
Audio/AudioDevice: Improve GetListenerRotation
2022-03-17 18:15:53 +01:00
SirLynix
89c7bbf197
Update copyright date
2022-01-01 15:30:09 +01:00
Jérôme Leclercq
ed7ab31933
Apply copyright fix to all files
2021-10-26 14:31:35 +02:00
Jérôme Leclercq
bd1f5214b8
Math: Replace M_PI defines with template constexpr constants
2021-06-05 16:35:15 +02:00
Jérôme Leclercq
4d74cef034
Math: Remove NAZARA_MATH_ANGLE_RADIAN and functions using it
2021-06-01 17:37:40 +02:00
ImperatorS79
4bf49876c6
Build Nazara on macos up to Nazara_network (not included
2020-11-21 20:05:19 +01:00
Jérôme Leclercq
2b6a463a45
Remove Nz::String and Nz::StringStream
2020-09-25 19:31:01 +02:00
Jérôme Leclercq
790815e9ee
Merge branch 'master' into nazara-next
2020-09-17 20:28:11 +02:00
Jérôme Leclercq
0cadaecbd2
Fix that clang warning
2020-09-07 16:21:43 +02:00
Jérôme Leclercq
193deb6c04
Fix some minor stuff
2020-09-06 17:09:39 +02:00
Jérôme Leclercq
0ff0425045
Some more fixes, hopefully GCC will stop shitting itself now
2020-08-27 23:22:13 +02:00
Lynix
c23b6dfa01
Copyright year update
...
I can't wait to see the conflicts this will cause
2020-03-05 17:27:26 +01:00
Jérôme Leclercq
5e45983953
Math/Angle: Fix compilation & warning on GCC < 8
2018-10-12 17:09:39 +02:00
Lynix
d2b1d51ecb
Math/Angle: Replace conversion constructors by conversion operators
2018-10-11 00:07:50 +02:00
Lynix
6653be6f2c
Math/Angle: Make use of ToRadians()
2018-10-10 23:12:45 +02:00
Lynix
fb11fe1ecf
Math/Angle: Rename angle field to value
2018-10-10 23:12:27 +02:00
Lynix
7613f50a6e
Math/Angle: Rework ToDegrees/ToRadians
...
- Rename To[Degrees|Radians] to To[Degrees|Radians]Angle
- Add To[Degrees|Radians] methods which returns an angle value
2018-10-10 23:01:23 +02:00
Lynix
9cc83aafda
Math/Angle: Add FromDegrees and FromRadians builders
2018-10-10 22:59:57 +02:00
Jérôme Leclercq
e1cfa2e184
And again
2018-09-25 15:56:35 +02:00
Jérôme Leclercq
2243749480
Math/Angle: Fix warning
2018-09-25 15:55:16 +02:00
Jérôme Leclercq
eaa3fd2f09
Fix method order
2018-09-06 13:27:06 +02:00
Jérôme Leclercq
46008531e0
Math/Angle: Fix implicit conversion to Euler Angles/Quaternion
2018-09-06 13:24:29 +02:00
Lynix
1ee75f2699
Math/Angle: Adds conversion to euler angles and quaternions
2018-09-05 21:51:32 +02:00
Jérôme Leclercq
1114bb0fdd
Fix some other oopsies
2018-09-05 16:24:10 +02:00
Jérôme Leclercq
500ad417a7
Math/Angle: Fix compilation under Linux
2018-09-05 15:59:00 +02:00
Jérôme Leclercq
4c8e40bb6c
Math/Angle: Rename parameters to prevent name clash
2018-09-05 15:18:35 +02:00
Jérôme Leclercq
f0e215f8f5
Math/Angle: Optimize SinCos on Linux
2018-09-05 15:15:02 +02:00
Jérôme Leclercq
9e0b61f30d
Math/Angle: Add sine, cosine, tangent methods
2018-09-05 15:14:31 +02:00
Lynix
f59810b68e
Math: Add Angle class
2018-09-02 22:06:03 +02:00