Commit Graph

733 Commits

Author SHA1 Message Date
SirLynix
96618cbb5b Fix some warnings 2023-06-27 19:31:24 +02:00
SirLynix
b5206ebdb7 Utility/STBSaver: Replace static map by constexpr unordered_map 2023-06-13 19:39:28 +02:00
NeDKaM
ced5083aef Utility : Fixed STBSaver supported file extensions 2023-06-13 19:30:27 +02:00
SirLynix
628a3a8375 Include fixes 2023-06-07 13:30:25 +02:00
SirLynix
caf8446707 Math: Remove Algorithm file and move string functions to StringExt 2023-06-06 08:59:58 +02:00
SirLynix
b9c1559d97 Random code cleanup 2023-06-05 18:05:16 +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
2886a2e0c0 Rename EnumMap to EnumArray after nazarautils update 2023-05-30 13:49:19 +02:00
SirLynix
f2f90e2ca3 Fix compilation 2023-05-30 12:37:22 +02:00
SirLynix
68b3e31eec Utility/PixelFormat: use std::string_view to store name 2023-05-30 12:33:40 +02:00
SirLynix
dfe6b2ddcf Make use of the new EnumMap class 2023-05-30 12:32:37 +02:00
SirLynix
1d32af53c5 Renderer: Add mipmaps generation support 2023-05-14 18:55:41 +02:00
SirLynix
383e905b3f Utility/Image: Add LoadFaceFromImage 2023-05-12 19:14:44 +02:00
SirLynix
bbbd3f88c1 Core: Add DisabledComponent (to temporary disable an entity) 2023-05-07 22:43:48 +02:00
SirLynix
19d0342082 Fix warning 2023-05-01 18:36:34 +02:00
SirLynix
2f5db80183 Remove empty source files 2023-04-11 13:51:11 +02:00
SirLynix
71bc39bfa6 Prepare for merge 2023-04-10 17:12:23 +02:00
SirLynix
96cc9aa9d7 Rebase fixes 2023-04-10 17:12:23 +02:00
SirLynix
021801f02e Continue Jolt integration 2023-04-10 17:12:23 +02:00
SirLynix
44aec8d5a5 Allow to load image and textures cubemap/arrays from file using the AppFilesystemComponent
Renames LoadCubemap and LoadArray to Load with additional parameters and allows AppFilesystemComponent to pass additional parameters to them
2023-04-04 08:24:52 +02:00
SirLynix
3c32f21c4a Utility/Node: Add missing SetTransform overload 2023-03-25 15:19:58 +01:00
SirLynix
3e99ce6be5 Utility/VelocitySystem: Use Time instead of float for elapsed time 2023-03-25 14:44:44 +01:00
SirLynix
9b4d297c04 Update includes for new NazaraUtils version 2023-03-19 13:01:56 +01:00
SirLynix
8b734caeac Utility/Node: Massively improve skeletal animations performance by allowing to invalidate the whole skeleton only once
Thanks to @SirMishaa for pointing that out
2023-03-17 19:22:09 +01:00
SirLynix
b0b9c61558 Utility/Mesh: Add Build overloads 2023-03-09 17:51:16 +01:00
SirLynix
04e177a1fe Utility: Fix OBJ & MTL parsing when extra-space are present 2023-02-26 14:26:37 +01:00
SirLynix
5e6a20f479 Fix text outline render order 2023-02-26 13:46:19 +01:00
SirLynix
292ca60592 WIP 2023-02-02 20:34:25 +01:00
SirLynix
35172f5028 Fix some warnings 2023-02-02 13:28:36 +01:00
SirLynix
88a0bf95ca Utility/ImageStream: Use Time class instead of UInt64 for frametime 2023-02-02 13:27:21 +01:00
SirLynix
4aed8b794c Remove unused files 2023-01-29 19:57:07 +01:00
SirLynix
d27ca55943 Core/AppFilesystemComponent: Add support for default resource parameters 2023-01-28 11:27:49 +01:00
SirLynix
f98cbcd00a Copyright year update 2023-01-22 17:41:18 +01:00
Jérôme Leclercq
dd421a6385 Replace float/UInt64 durations by a more precise Time class (#388)
Improve Clock class with atomic RestartIfOver method and allows to choose required precision
2022-12-29 21:31:46 +01:00
SirLynix
5fc02c0295 Utility/Image: Fix LoadFaceFrom* 2022-12-29 12:21:15 +01:00
SirLynix
9a553e5e9d Core: Make Color constexpr 2022-12-29 12:13:00 +01:00
SirLynix
9578ba3ef5 Add initial support for compute pipelines 2022-12-25 19:19:16 +01:00
SirLynix
46fe1c550c Fixes unit tests 2022-12-18 17:08:03 +01:00
SirLynix
830eee78a8 Math: Rework Box and Rect classes 2022-12-18 14:57:14 +01:00
SirLynix
e6bf11c48e Minor fixes 2022-12-17 14:49:22 +01:00
Jérôme Leclercq
f42df21660 Fix unity build 2022-11-28 11:14:40 +01:00
SirLynix
842e797cc4 Fix a bunch of warnings 2022-11-13 16:12:49 +01:00
SirLynix
6b8be23fa0 Switch index/vertex count to UInt32 2022-10-31 19:54:25 +01:00
SirLynix
9cd7976a91 Remove "MemoryManager" and very old code 2022-09-24 14:25:52 +02:00
SirLynix
6bf4ccaae1 Core/ParameterList: Rework Parameter getter using Result 2022-09-09 13:47:06 +02:00
SirLynix
72d908817d Fix compilation with unity build 2022-09-07 19:28:41 +02:00
Jérôme Leclercq
5cb50928f7 Utility: Fix STBLoader 2022-09-07 15:40:14 +02:00
SirLynix
47cb878f9d Major ResourceLoader rework (using Nz::Result) 2022-09-07 13:31:04 +02:00
SirLynix
017a6c7af3 Graphics: Use memory pools for render elements 2022-08-30 19:27:52 +02:00
SirLynix
7949c57f16 Utility: Add a better way to attach objects to joints 2022-08-30 18:31:04 +02:00