Commit Graph

7083 Commits

Author SHA1 Message Date
SirLynix 1bb4b8fa0d Core/AppFilesystemComponent: Add GetDirectory 2023-07-14 14:16:57 +02:00
SirLynix 4f3542356d Graphics/RenderSystem: Handle visibility immediatly
This fixes an issue when rendermask/scissor box is updated right after making an entity visible (e.g. widgets)
2023-07-02 14:04:00 +02:00
SirLynix fff4029047 Graphics/ForwardFramePipeline: Fix crash when removing a viewer 2023-07-02 14:02:11 +02:00
SirLynix b66c50a5da Graphics/ForwardFramePipeline: Fix light frustum culling 2023-06-28 17:44:34 +02:00
SirLynix c2caec3954 Update EnTT to 3.12.2 2023-06-28 07:06:26 +02:00
SirLynix 602361e8e1 Core/Time: Add support for AsSeconds<integer> 2023-06-28 07:04:20 +02:00
SirLynix 96618cbb5b Fix some warnings 2023-06-27 19:31:24 +02:00
SirLynix b01ee18eaf Graphics/ForwardFramePipeline: Fix frustum test 2023-06-25 10:02:20 +02:00
SirLynix 161c4f6aca Math/Frustum: Fix Contains(Box) and Intersect(points, n) 2023-06-25 09:50:10 +02:00
SirLynix 4494249dc1 UnitTests/Plane: Fix tests (since plane distance was reversed) 2023-06-23 13:23:45 +02:00
SirLynix 2f1e2f94d7 Math/Plane: Fix construction from 3 points 2023-06-23 13:23:26 +02:00
SirLynix b2538028b4 Math/Plane: Rename Distance method to SignedDistance 2023-06-22 17:56:18 +02:00
SirLynix 8481cc7c15 Widgets/BoxLayout: Fix warning 2023-06-21 20:14:31 +02:00
SirLynix 9887f73116 BulletPhysics3D!: Remove unused variable 2023-06-21 20:14:11 +02:00
SirLynix da6d3afa33 Core/ThreadImpl: Fix warning and merge implementations 2023-06-21 20:13:58 +02:00
SirLynix 6778d6ea33 Fix warning 2023-06-21 19:50:09 +02:00
SirLynix 622b6cbec9 Math: Reverse plane direction (to make it more standard) 2023-06-21 19:50:03 +02:00
SirLynix 9eb4c43997 Math/Frustum: Add GetPlanes() 2023-06-21 19:49:32 +02:00
SirLynix 2a9ec4f3bb Minor fixes 2023-06-16 13:06:11 +02:00
SirLynix 6bf91e10e5 Network: Implement WebService with emscripten fetch API on wasm 2023-06-14 20:13:17 +02:00
SirLynix b28d97b1fa Add missing include 2023-06-14 20:13:17 +02:00
SirLynix 4175e18b5b Examples/WebService: Switch URL 2023-06-14 20:13:17 +02:00
SirLynix a9d74c7345 Update WebRequestResult.hpp 2023-06-14 20:13:17 +02:00
SirLynix c65daba072 Network: Add WebService 2023-06-14 20:13:17 +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 504c0f771b Minor fixes 2023-06-09 09:24:03 +02:00
SirLynix 40bb69bc60 Core: Add SignalHandlerAppComponent 2023-06-07 22:28:55 +02:00
SirLynix 8eefb2f101 Add missing include 2023-06-07 18:54:44 +02:00
SirLynix 51ac2b71df Fix thread support on MinGW 2023-06-07 18:54:37 +02:00
Jérôme Leclercq 4c21821802
Core: Add missing GetCurrentThreadName on POSIX 2023-06-07 14:12:32 +02:00
SirLynix bf0d7674c7 Core: Add thread extension functions 2023-06-07 13:35:40 +02:00
SirLynix 628a3a8375 Include fixes 2023-06-07 13:30:25 +02:00
SirLynix 05996d11c2 Add missing include 2023-06-07 08:17:28 +02:00
SirLynix 091a50715e UnitTests: Move number <=> string tests 2023-06-06 18:40:01 +02:00
SirLynix 6520f48d94 Add missing include 2023-06-06 18:00:14 +02:00
SirLynix caf8446707 Math: Remove Algorithm file and move string functions to StringExt 2023-06-06 08:59:58 +02:00
Jérôme Leclercq c87c45f332
Fix missing include 2023-06-05 20:46:54 +02:00
SirLynix 21503ffaa7 Graphics/MaterialPipeline: Use FixedVector instead of std::vector 2023-06-05 18:05:41 +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 de88873c35 Make use of the new Flags iterator 2023-06-02 17:57:26 +02:00
SirLynix 401bfa3324 Core/Enums: Improve OpenMode comments 2023-06-02 17:49:23 +02:00
SirLynix 1672765936 JoltPhysics3D/JoltCollider3D: Add Mesh JoltMeshCollider3D 2023-06-02 17:47:25 +02:00
SirLynix d310bf478b Core/VirtualDirectoryFilesystemResolver: Fix unicode path 2023-05-30 19:09:11 +02:00
SirLynix ae5b1dc485 Fix compilation 2023-05-30 13:49:28 +02:00
SirLynix 2886a2e0c0 Rename EnumMap to EnumArray after nazarautils update 2023-05-30 13:49:19 +02:00
SirLynix cff918f6a3 Graphics/ForwardFramePipeline: Fix unregister + register the same renderable pointer not invalidating rendering
This can happen with ECS components which are mostly stable in memory, when destroying a graphics entity and recreating it (even with a different mesh) its pointer may not change due to memory recycling, especially on simple scenes.

A UInt8 generation counter helps prevents this
2023-05-30 13:34:41 +02:00
SirLynix f2f90e2ca3 Fix compilation 2023-05-30 12:37:22 +02:00
SirLynix 0c7efa05e2 Fix a bunch of warnings 2023-05-30 12:34:38 +02:00