Commit Graph

7405 Commits

Author SHA1 Message Date
SirLynix
147f1bc1cf Math/Vector3: Add GetAbs method 2023-05-01 17:05:26 +02:00
SirLynix
a578b061b4 Graphics/FrameGraph: Fix bug introduced in 97f1c2c56c 2023-05-01 17:05:07 +02:00
SirLynix
dcc23ef7c2 Graphics/Tilemap: Fix layer update when enabling tiles
Thanks to @jube for noticing!
2023-05-01 10:37:14 +02:00
SirLynix
d29d7e3498 xmake: disable pedantic for now 2023-05-01 10:36:12 +02:00
SirLynix
3957687a31 OpenGLRenderer/CommandBuffer: Replace std::visit by a switch (to improve performance) 2023-04-30 21:12:33 +02:00
SirLynix
97f1c2c56c Refactor xmake.lua and make some warnings as errors 2023-04-30 21:11:30 +02:00
SirLynix
445ed93fbb Core/ApplicationBase: Fix compilation with Apple Clang 2023-04-24 10:58:16 +02:00
SirLynix
de5e7bd8a8 Core/ApplicationBase: Add support for updaters with intervals 2023-04-23 19:45:33 +02:00
SirLynix
a55560d1ca Update to Jolt Physics v3 2023-04-20 12:29:56 +02:00
SirLynix
396c0f73f3 Remove NAZARA_UNITY_BUILD define 2023-04-13 09:23:42 +02:00
SirLynix
cdb4ff2de9 Fix compilation on wasm 2023-04-12 15:31:04 +02:00
SirLynix
d717335bca VulkanRenderer: Fix unitybuild causing #define issue because of Windows.h 2023-04-12 14:13:34 +02:00
SirLynix
f034e71ba4 Core/HardwareInfo: Fix compilation for other arch than x86 2023-04-12 14:10:55 +02:00
SirLynix
71891b9788 Remove Windows arm64 from CI 2023-04-11 18:23:41 +02:00
SirLynix
0a2388a343 Move MinGW isystem fix to xmake.lua 2023-04-11 18:17:40 +02:00
SirLynix
6d8734f288 Add support for ARM64 on Windows 2023-04-11 18:15:29 +02:00
SirLynix
83c2f3f735 Fix cross-compilation to arm64 on Windows 2023-04-11 13:51:33 +02:00
SirLynix
2f5db80183 Remove empty source files 2023-04-11 13:51:11 +02:00
SirLynix
3df52dcfbe Examples: Reduce size of some web examples 2023-04-10 19:20:15 +02:00
SirLynix
2c6191987f Graphics/PhongMaterial: Add option to disable shadow mapping (and disable it by default on web) 2023-04-10 17:25:18 +02:00
SirLynix
44c42a85c2 Examples/PhysicsPlayground: Reduce ship count 2023-04-10 17:20:50 +02:00
SirLynix
f952c64642 Graphics/BasicMaterial: Fix compilation error when no UV are available ...
... but textures are mapped
2023-04-10 17:12:40 +02:00
Jérôme Leclercq
16bd496253 Leave bullet in release mode 2023-04-10 17:12:23 +02:00
SirLynix
670389d268 xmake check-files -f 2023-04-10 17:12:23 +02:00
SirLynix
262351c5c3 Update docs 2023-04-10 17:12:23 +02:00
SirLynix
26b23ccce6 Rename Physics2D to ChipmunkPhysics2D 2023-04-10 17:12:23 +02:00
SirLynix
b1255ad2ad Build: Add options to enable/disable specifics modules and their dependencies 2023-04-10 17:12:23 +02:00
SirLynix
71bc39bfa6 Prepare for merge 2023-04-10 17:12:23 +02:00
SirLynix
ad1a7cf43e JoltCollider3D/ConvexHullCollider3D: Improve debug mesh generation 2023-04-10 17:12:23 +02:00
SirLynix
6a609055dc Replace ordered_map with unordered_map when ordering is not required 2023-04-10 17:12:23 +02:00
SirLynix
4f1f0c6418 JoltPhysics3D: Fix JoltConvexHullCollider3D::BuildDebugMesh 2023-04-10 17:12:23 +02:00
SirLynix
f7d0f4ca23 Example/Showcase: fix use after move 2023-04-10 17:12:23 +02:00
SirLynix
1415dcbf1a JoltPhysics3D: Add JoltConvexHullCollider3D 2023-04-10 17:12:23 +02:00
SirLynix
60ed70d3fd Fix unity build compilation 2023-04-10 17:12:23 +02:00
SirLynix
d610baf920 JoltPhysics3D: Rework RigidBody wrapper
- Add a clear way to setup dynamic/kinematic or static bodies
- Body registration to the world is batched (all bodies created before a physics step are added together, which is what Jolt is optimized for)
- Added support for empty shapes (= rigid bodies without collision) using a very small shape and tagging the body as sensor
2023-04-10 17:12:23 +02:00
SirLynix
67b1710adb JoltPhysics3D/JoltCollider3D: Set convex radius by default 2023-04-10 17:12:23 +02:00
SirLynix
77ee7d8c92 JoltPhysics3D/JoltCollider3D: Fix offsetMatrix not taken into account 2023-04-10 17:12:23 +02:00
SirLynix
61724cc4b9 JoltPhysics3D: Add distance constraint 2023-04-10 17:12:23 +02:00
SirLynix
96cc9aa9d7 Rebase fixes 2023-04-10 17:12:23 +02:00
SirLynix
8d25495bab JoltPhysics3D: Add some methods to JoltCharacter 2023-04-10 17:12:23 +02:00
SirLynix
74bfd8fa4e Update physics playground (restore grab with both jolt and bullet) 2023-04-10 17:12:23 +02:00
SirLynix
efc81ff508 BulletPhysics3D: Fix movement 2023-04-10 17:12:23 +02:00
SirLynix
6447686ad9 JoltPhysics3D: Add JoltPivotConstraint3D 2023-04-10 17:12:23 +02:00
SirLynix
d697450a60 JoltPhysics3D: Add raycast hit normal 2023-04-10 17:12:23 +02:00
SirLynix
1387ac6e35 JoltPhysics3D: Add capsule collider 2023-04-10 17:12:23 +02:00
SirLynix
a4ba7d6115 JoltPhysics3D:: Improve characters 2023-04-10 17:12:23 +02:00
SirLynix
2b0239b8f0 JoltPhysics3D: Fix crash when freeing compoites colliders 2023-04-10 17:12:23 +02:00
SirLynix
b3595178a1 JoltPhysics3D: Add RaycastQuery and RaycastQueryFirst 2023-04-10 17:12:23 +02:00
SirLynix
707a486e74 BulletPhysics3D: Rename StaticPlaneCollider3D (add Bullet prefix) 2023-04-10 17:12:23 +02:00
SirLynix
63d75e8904 Physics3D/PhysWorld3D: Add generic RaycastQuery 2023-04-10 17:12:23 +02:00