Commit Graph

3333 Commits

Author SHA1 Message Date
Jérôme Leclercq 313be2d0f4 Fix merge error 2023-07-21 12:12:10 +02:00
SirLynix dee47c6f15 Renderer: Fix BuildMipmaps 2023-07-21 12:12:10 +02:00
SirLynix 4db5b59ec9 Renderer: Refactor transient resources (allow access at any time) 2023-07-21 12:12:10 +02:00
SirLynix e34ba8c05d Add ComputeParticlesTest
Renderer: Add a way to execute commands on the device
2023-07-21 12:12:10 +02:00
SirLynix c25113fea9 xmake check-files -f 2023-07-21 09:01:52 +02:00
SirLynix fbf4da3c4f VulkanRenderer: Improve transient command buffer usage
Allocate and reuse them between frames, by resetting the command pool
2023-07-21 09:00:34 +02:00
SirLynix ce2693114c Fix includes 2023-07-17 19:18:15 +02:00
SirLynix cbe055d412 Core/AppFilesystemComponent: Use hash as key for resource parameters 2023-07-17 19:07:45 +02:00
SirLynix f2bc1bff7a Update for latest nazarautils update 2023-07-17 19:05:15 +02:00
SirLynix af3d1cfa26 Network/NetPacket: Fix mutex recursive lock leading to an exception 2023-07-15 10:36:41 +02:00
SirLynix ff491eddc7 Math/Angle: Fix Zero() 2023-07-14 14:18:28 +02:00
SirLynix 62663dc8e1 Vulkan 2023-07-14 14:18:04 +02:00
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 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 161c4f6aca Math/Frustum: Fix Contains(Box) and Intersect(points, n) 2023-06-25 09:50:10 +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 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 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 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 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 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
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 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 0c7efa05e2 Fix a bunch of warnings 2023-05-30 12:34:38 +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 580b3c8804 Core/ApplicationBase: GetComponent can no longer fail 2023-05-20 21:35:10 +02:00
SirLynix 35c498bf21 Core/ResourceLoader: Use stream path extension if possible to dismiss loaders 2023-05-20 21:34:34 +02:00
SirLynix aa441354ec Graphics/GraphicsComponent: Fix GetAABB 2023-05-20 21:31:49 +02:00
SirLynix 741dc6b7e8 Math/Box: Add ScaleAroundCenter 2023-05-16 15:43:05 +02:00
SirLynix 6f15400d01 JoltPhysics3D: Rework Character class 2023-05-15 19:03:28 +02:00