Commit Graph

7269 Commits

Author SHA1 Message Date
SirLynix ab8bac2575 Use fmt store instead of ToString fallback
Thanks to @jonathanpoelen for the idea
2023-08-15 01:10:01 +02:00
SirLynix a741672a51 Allow error message to be formatted 2023-08-15 01:10:01 +02:00
SirLynix 25957c4b7f PresentModeTest: Try to make screen tearing more visible 2023-08-15 00:30:12 +02:00
Jérôme Leclercq 501e779be4
Fix mistake 2023-08-13 18:40:02 +02:00
SirLynix e8620894f7 Renderer: Expose present mode and allow to query/set it 2023-08-13 18:16:03 +02:00
SirLynix 28d69ab552 Math/Box,Rect: Add GetCorners method 2023-08-13 18:14:22 +02:00
SirLynix 5a299da930 Fix unit tests 2023-08-12 14:43:59 +02:00
SirLynix 7e54b19eb5 Fix unity compilation 2023-08-12 14:08:48 +02:00
SirLynix ad88888ea2 XMake: Fix resource embedding 2023-08-12 12:34:03 +02:00
SirLynix c9fae3470a Examples/Physics2DDemo: Add box grabbing 2023-08-12 12:25:00 +02:00
SirLynix 68ce2b2d00 ChipmunkPhysics2D/PhysWorld2D: Change default step size to 1 / 120 2023-08-12 12:23:11 +02:00
SirLynix 887bd875f7 Remove unused headers 2023-08-12 12:22:27 +02:00
SirLynix ce6a94cfe2 XMake: Add dependencies natvis to VS projects 2023-08-12 12:21:51 +02:00
SirLynix 2f593dcde7 XMake: Fix double-compilation of shaders and recompile shaders on nzsl update
Shaders were compiled twice because rule was added separately
2023-08-12 12:13:22 +02:00
SirLynix 689ea06fe1 ChipmunkPhysics2D/Constraint2D: Fix leak and implement single body constraints
Also move anchors to world space
2023-08-12 12:12:20 +02:00
SirLynix 65a1c195ac ChipmunkPhysics2D/RigidBody2D: Add ToLocal/ToWorld methods 2023-08-12 12:11:24 +02:00
SirLynix 1ef61cc5ad Math/VectorI: Add modulo overloads 2023-08-12 12:02:12 +02:00
SirLynix 8291ced2eb Update example assets 2023-08-12 11:29:11 +02:00
SirLynix 4642ea778c ChipmunkPhysics2D/PhysicsSystem: Add query functions wrappers 2023-08-10 12:05:31 +02:00
SirLynix ab95bec41b Fix compilation 2023-08-10 12:03:56 +02:00
SirLynix efa2a30934 Fix check-files ordering headers by folder count for different libs 2023-08-10 08:59:50 +02:00
SirLynix 494a83e817 JoltPhysics3D/Physics3DSystem: Cleanup test code 2023-08-10 08:59:20 +02:00
SirLynix 5484967498 ChipmunkPhysics2D/RigidBody2D: Add unique body index and remove userdata 2023-08-10 08:40:21 +02:00
SirLynix 09f282f2fe JoltPhysics3D/JoltCharacter: Fix IsOnGround returning true when touching walls 2023-08-09 19:38:07 +02:00
SirLynix 1bbfd9fdd2 Widgets/TextAreaWidget: [SetText] Pass std::string by value 2023-08-09 19:37:51 +02:00
SirLynix e5318e49fe JoltPhysics3D/JoltRigidBody3D: Add constructors for settings 2023-08-09 18:01:23 +02:00
SirLynix de002adbb1 Graphics/GraphicsComponent: Fix clear clearing other entries 2023-08-09 18:01:01 +02:00
SirLynix a6fbf3c622 Fix previous commit 2023-08-08 18:26:53 +02:00
SirLynix cf6fdf258f Graphics: Add new functions to get default material types/presets 2023-08-08 18:17:58 +02:00
SirLynix 32f8141bd8 ChipmunkPhysics2D: Rework RigidBody2D 2023-08-07 18:17:00 +02:00
SirLynix 8eef44ff76 Remove qt rule (not used for now) 2023-08-06 12:25:12 +02:00
SirLynix 94f0d4d25a Shadernodes: Use builtin Qt rules 2023-08-06 11:51:36 +02:00
SirLynix 888d273695 Tests/ComputeParticlesTest: Fix mapping with OpenGL 2023-08-06 10:14:30 +02:00
SirLynix fd73d62adf Graphics/RenderSystem: Fix skeleton not being used when added after graphics component 2023-08-06 10:14:01 +02:00
SirLynix ee361fc48c Graphics/GraphicsComponent: Fix GetAABB() with no renderable 2023-08-06 10:12:35 +02:00
SirLynix 98e9c89a54 ChipmunkPhysics2D/PhysWorld2D: Set default colors for debug draw options 2023-08-06 10:12:17 +02:00
SirLynix 31dd74c503 Fix test compilation on macOS
Parallel algorithms are not implemented on macOS
2023-08-04 18:02:16 +02:00
SirLynix b418ed6a32 Tests/ComputeParticlesTest: Change behavior when pressing space
And try to minimize hang by multithreading particle update
2023-08-04 16:42:54 +02:00
SirLynix 5444e4186e Core/Thread: Remove MinGW compiler defines (as they are now part of NazaraUtils) 2023-08-04 16:40:46 +02:00
SirLynix c97bba71e7 Utility/Node: Translate comment 2023-08-04 12:28:32 +02:00
SirLynix b3ad0e3a06 JoltPhysics3D: Fix raycast body for static bodies 2023-08-04 12:28:15 +02:00
SirLynix e6f26f04a9 JoltPhysics3D: Fix destruction of just created bodies 2023-08-04 12:27:26 +02:00
SirLynix 62adfdd26c Graphics: Fix warning 2023-08-04 12:24:29 +02:00
Jérôme Leclercq 94035c1db8
msys2: use xmake package instead of compiling from source 2023-08-04 00:13:37 +02:00
Jérôme Leclercq 8bfa5b4614
Fix msys2 CI 2023-08-03 23:42:43 +02:00
SirLynix 3844f41c1b CI: Re-disable unit tests in release 2023-07-30 21:00:39 +02:00
SirLynix e2808192aa Minor fixes 2023-07-30 19:46:01 +02:00
SirLynix a7eba496fb Examples: Pass argc/argv to Application 2023-07-30 12:46:18 +02:00
SirLynix 816d9d1174 Allow to setup/override module configuration from commandline 2023-07-30 12:44:43 +02:00
SirLynix 218b75558a Core: Add CommandLineParameters 2023-07-30 11:46:55 +02:00