Commit Graph

37 Commits

Author SHA1 Message Date
SirLynix 9b4d297c04 Update includes for new NazaraUtils version 2023-03-19 13:01:56 +01:00
SirLynix 488f3ca6ef Minor fixes 2023-03-14 18:06:14 +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 9a553e5e9d Core: Make Color constexpr 2022-12-29 12:13:00 +01:00
Jérôme Leclercq 03e2801dbe Split engine to packages NazaraUtils and NZSL (#375)
* Move code to NazaraUtils and NZSL packages

* Reorder includes

* Tests: Remove glslang and spirv-tools deps

* Tests: Remove glslang init

* Remove NazaraUtils tests and fix Vector4Test

* Fix Linux compilation

* Update msys2-build.yml

* Fix assimp package

* Update xmake.lua

* Update xmake.lua

* Fix shader compilation on MinGW

* Final fixes

* The final fix 2: the fix strikes back!

* Disable cache on CI

* The return of the fix™️
2022-05-25 19:36:10 +02:00
SirLynix 89c7bbf197 Update copyright date 2022-01-01 15:30:09 +01:00
Jérôme Leclercq 93ec196dc4 Apply header guard check 2021-10-26 15:52:46 +02:00
Jérôme Leclercq ed7ab31933 Apply copyright fix to all files 2021-10-26 14:31:35 +02:00
Lynix c23b6dfa01 Copyright year update
I can't wait to see the conflicts this will cause
2020-03-05 17:27:26 +01:00
Lynix 3b43f57192 Added physics function to control sleeping behavior 2019-12-19 21:33:56 +01:00
Lynix dcfd2ad8f9 Physics2D/PhysWorld2D: Add RaycastQuery and RegionQuery overloads taking a callback 2019-05-27 22:42:37 +02:00
Lynix e61faae089 Physics2D/PhysWorld2D: Fix multiple calls to RegisterCallbacks with the same collision id 2019-04-15 16:25:40 +02:00
Lynix dc6fbfc90f Replace floating point angle by Angle class instance 2018-10-09 23:20:53 +02:00
Jérôme Leclercq b92e23fcd6 Physics2D: Add Arbiter2D 2018-08-02 15:42:14 +02:00
Jérôme Leclercq 95f137816a Physics2D/PhysWorld2D: Add invStepCount argument to pre/post steps callbacks 2018-04-30 14:55:28 +02:00
Jérôme Leclercq 45af15d802 Physics[2|3]D/PhysWorld[2|3]D: Add max step count 2018-02-09 17:29:20 +01:00
Jérôme Leclercq bb7c97ed9a Add PhysWorld2D::UseSpatialHash 2018-02-09 17:25:11 +01:00
Jérôme Leclercq 17849226e4 Physics2D/PhysWorld2D: Add iteration count control 2018-02-09 17:24:00 +01:00
germinolegrand 1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
Jérôme Leclercq 101783126c Physics2D: Add DebugDraw method 2017-10-13 15:14:37 +02:00
Jérôme Leclercq b4d0854028 Physics2D/PhysWorld2D: Add damping control 2017-09-08 09:41:08 +02:00
Lynix 74af157113 PhysWorld2D: Use std::function for callbacks 2017-08-06 23:08:36 +02:00
Lynix 33b10989e2 Physics2D/PhysWorld2D: Initialize callbacks to nullptr to prevent misuse 2017-04-21 21:39:37 +02:00
Lynix 5ec913311f Physics2D/PhysWorld2D: Add RegionQuery method 2017-03-30 16:32:29 +02:00
Lynix 4d932e9317 PhysWorld2D: Ensure PostStepContainer is move-constructible noexcept 2017-03-10 11:36:58 +01:00
Lynix cdf7c11ef8 Fix crash when RigidBody2D is moved while having poststeps 2017-03-09 18:20:18 +01:00
Jérôme Leclercq 78d6a69bcb Physics2D/PhysWorld2D: Fix SetMass calls during callbacks 2017-03-07 09:36:29 +01:00
Jérôme Leclercq ede6dd90b8 Physics2D/PhysWorld: Add Raycast queries 2017-03-06 14:02:35 +01:00
Lynix 04f7b40150 Physics2D/RigidBody2D: Fix querying 2017-03-02 13:07:02 +01:00
Lynix a50a822fad Physics2D/PhysWorld2D: Fix NearestBodyQuery 2017-03-02 11:22:59 +01:00
Lynix 834f65c0ae Physics2D/PhysWorld2D: Add optimized NearestBodyQuery 2017-03-02 10:34:02 +01:00
Jérôme Leclercq 5ebf125474 Physics2D: Add NearestBodyQuery 2017-03-01 17:40:12 +01:00
Jérôme Leclercq 7b47a6ad2e Physics2D: Add support for trigger and callbacks 2017-02-21 15:58:31 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Ardakaniz 33e4c89b73 Rename 'Physics 3D' to 'Physics 2D' in files head 2016-10-14 19:34:49 +02:00
Lynix 9a7767867b Push the current work on the Physics2D module 2016-10-14 17:07:13 +02:00