Commit Graph

126 Commits

Author SHA1 Message Date
Lynix c1cebe1425 Merge branch 'master' into physics3d-material 2018-01-17 18:25:57 +01:00
germinolegrand 1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
Lynix 4cb598c32b Merge branch 'master' into physics3d-material 2018-01-14 14:40:57 +01:00
Lynix fe278bae4b Remove useless inline 2018-01-13 20:49:47 +01:00
Lynix 141640a962 Fix compilation for good 2018-01-13 12:01:53 +01:00
Lynix 0183f60b80 Fix compilation and PR 2018-01-13 11:57:30 +01:00
Faymoon 4f6bf30f24 Constraint 2D (#147)
* Rename all Constraint by [name]Constraint3D

* Create Refs and Libraries for Constraint2D

* Remove ref to PhysWorld in Constraints ctors

* Update Constraint2d ctor to have RigiBodies first

* Add New static function for all constraints and fix an oopsie

* Add Contraint Library and remove all library useless aliases

* Add ConstraintComponent2D

* remove useless definition of Constraint2D library

* Fix : getting the world of the constraint before having created it

* Make the GetStaticBody function return a ref

* Remove : Useless AddJoint Fonction and Update CreateJoint function

* Update PhysicsSystem3D because GetStaticBody return now a ref

* Oops

* Having done something with the 3D and i was needing 2D

* Add ConstraintComponent as friend of Collision and PhysicsComponent

* Update all the Get[Static/Rigid]Body function so they return a pointer

* fix the bugs caused by the commit before

* update : CreateConstraint lambda for the nullptr case

* remove the useless  use of const pointer

* Update : CreateConstraint function

* Update ChangeLog.md
2018-01-13 11:03:03 +01:00
Lynix e302667c21 Merge branch 'master' into physics3d-material 2017-12-14 18:15:35 +01:00
Lynix 5aab9b248d Sdk/PhysicsComponent3D: Fix cloning by preserving physics states 2017-12-13 22:17:50 +01:00
Jérôme Leclercq 4eb3520be8 Sdk/PhysicsComponent3D: Add node synchronization control 2017-12-13 10:36:27 +01:00
Lynix afa874de26 WIP on materials 2017-12-10 22:17:41 +01:00
Lynix f1b84bfc9e Sdk/Physics3D: Handle properly disabled physics entity 2017-12-10 14:07:18 +01:00
Lynix 0df70dcb16 Physics3D/RigidBody3D: Rename [Get|Set]Velocity to [Get|Set]LinearVelocity 2017-12-10 12:09:36 +01:00
Lynix 7772d56c66 Sdk/GraphicsComponent: Fix local matrix not being copied 2017-12-06 21:12:51 +01:00
Lynix 6d09abbc2c Physics3D/RigidBody3D: Add [Get|Set][Angular|Linear]Damping 2017-11-30 12:04:33 +01:00
Lynix 71ee30d570 Sdk/GraphicsComponent: Fix clear method 2017-11-28 23:21:11 +01:00
Faymoon 06ac8cf904 Add AddImpulse for PhysicsComponent2D (#141)
* Update PhysicsComponent2D.hpp

* Update LuaBinding_SDK.hpp

* Update LuaBinding_SDK.cpp

* Update LuaBinding_SDK.cpp

* Add : AddImpulse

* Add : AddImpulse

* Add : binding of PhysicsComponent2D

* add : handle

* fix alphabetical order

* complete PhysicsComponent2D binding

* Update LuaBinding_SDK.cpp

* Update LuaBinding_SDK.hpp

* Update PhysicsComponent2D.hpp

* Update PhysicsComponent2D.inl

* forgot : use namespace Nz and open namespace Ndk

* Update PhysicsComponent2D.hpp

* Add Addimpulse

* Update PhysicsComponent3D.hpp
2017-11-21 12:17:11 +01:00
Lynix d688cecbde Renderer: Replaced RenderTarget::Get[Height|Width] by RenderTarget::GetSize
Utility: Removed Window::Get[Height|Width] methods
2017-10-28 23:26:22 +02:00
Lynix c763dea4e1 Merge branch 'master' into reflection-mapping 2017-10-02 21:11:15 +02:00
Gawaboumga bbac0838dd Include-What-You-Use (#137)
* IWYU Core

* IWYU Noise

* IWYU Utility

* IWYU Audio

* IWYU Platform

* IWYU Lua

* IWYU Network

* IWYU Physics2D

* IWYU Physics3D

* IWYU Renderer

* IWYU Graphics

* IWYU NDKServer

* IWYU Fix

* Try to fix compilation

* Other fixes
2017-10-01 11:17:09 +02:00
Gawaboumga 41a1b5d493 Physics2D tests (#129)
* Quaternion: Fix singularity on Z axis when converting to euler angles

* CollisionComponent2D: Add method to retrieve AABB

* Collider2D: Fix constructor for Box with Vector2

* Physics2D: Fix rotation (Chipmunk works with radian and Nazara degrees) and copy constructor of RigidBody2D

* Colider2D: Add New for convex and tests for the new classes
2017-08-20 21:47:23 +02:00
Lynix f363420ebe Sdk/ParticleEmitterComponent: Fix Enable inline option 2017-08-20 21:34:12 +02:00
Lynix 75d57b3c29 Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-05-11 20:52:04 +02:00
Lynix 52a4a590e1 Graphics/Material: Fix depth sorting flag handling for meshes 2017-04-22 17:13:51 +02:00
Lynix e3514db87f Sdk/GraphicsComponent: Add methods to update local matrix and render order 2017-04-22 17:11:42 +02:00
Lynix 5eccfefc05 Fix compilation 2017-04-17 23:42:20 +02:00
Lynix f7cd52d947 Small update 2017-04-17 17:39:26 +02:00
Lynix 5702e5202c Components/GraphicsComponent: Add DoesRequireRealTimeReflections method 2017-03-29 18:58:41 +02:00
Lynix 6851428c3c Components/GraphicsComponent: Watch every used material to handle reflective information 2017-03-28 23:36:08 +02:00
Lynix 605e5c2fd0 Sdk/BaseComponent: Add OnEntityDestruction callback
Also fixes physics component callbacks (OnContactEnd by example) being
fired while entity is destroyed
2017-03-03 17:52:07 +01:00
Gawaboumga c2e4ccaf72 Various little fixes (#118)
* Add missing override qualifier

* Mostly shadowing, virtual destructor and other little things
2017-02-19 23:15:13 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix 093ee3175e SDK/Component: Fix typo (and compilation) 2016-11-23 14:12:24 +01:00
Lynix 8d86306933 Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-11-23 14:07:52 +01:00
Lynix f629803f90 Sdk/CameraComponent: Fix compilation 2016-11-19 15:43:17 +01:00
Lynix 3bd426f3dc SDK/Lua: Bind CameraComponent 2016-11-18 22:39:01 +01:00
Lynix 74f3ac8021 SDK: Add components and system for 2D physics 2016-11-10 18:31:27 +01:00
Jérôme Leclercq 9e84c397ba Merge branch 'master' into culling 2016-11-07 11:26:48 +01:00
Jérôme Leclercq e087129d4a Fix many errors and warnings found out by MinGW 2016-11-04 18:14:52 +01:00
Lynix b27cfd30af Sdk/VelocityComponent: Cleanup 2016-10-25 12:22:57 +02:00
Lynix 725dc6cdbc Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-10-19 11:17:12 +02:00
Lynix 5a07bbd001 Fix a lot of warnings from Clang/GCC 2016-10-17 14:46:53 +02:00
Lynix be44a89a85 Sdk: Rename [Collision|Physics]Component to [Collision|Physics]Component3D 2016-10-13 08:23:25 +02:00
Lynix b52c7c57bf Physics3D: Rename PhysWorld to PhysWorld3D 2016-10-13 08:13:56 +02:00
Lynix 3765cba046 Physics3D: Rename PhysObject to RigidBody3D 2016-10-13 08:06:14 +02:00
Lynix b7a383d68c Physics3D: Rename all *Geom to Collider3D 2016-10-13 07:29:34 +02:00
Lynix 24f1859ec2 Physics: Change includes to Physics3D 2016-10-13 06:03:22 +02:00
Lynix 561c0cf51f Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-10-12 16:51:18 +02:00
Lynix 29ac52770e SDK/CameraComponent: Moved virtual functions to source file
Former-commit-id: 633046a6f599ce9f8712e11b8195509d9704bfc0 [formerly 080ea253a37d683c72372b406148372f9c1b92d2] [formerly 528dbe2f2c9dcac7b48c11feafb24a12afd43652 [formerly af9843c5eae928fb2f03c0ec1550e7ef95f69108]]
Former-commit-id: f17eed57cd271cfc55ef380bde44917ea26deac7 [formerly 30667bf567620cc339c96388303582b8b8601f68]
Former-commit-id: 66843984b23bee78fdbcefebbf56febddcdb4bb2
2016-09-27 18:09:25 +02:00
Lynix 416441bd3e Sdk/RenderSystem: Regenerate renderqueue only when needed
Former-commit-id: 8883c832e1ea34172cf7b21e949f931f188542cf [formerly 3e5d67644e985fd6b5dc0d24bd431e575b9192b7] [formerly 9240e84ee3e77f9b4fa525c5e614ee32c4a59501 [formerly 4f5f4c5d6f366619e888feb8e7fcc8379cf0fabd]]
Former-commit-id: ebc0908d6be73e8509e322450bfe6c2cfcc89ae8 [formerly b621f6434040e1c78841d51e905eda23fdad9b62]
Former-commit-id: 382e99294b674b9740dc9c9b5f5e6dd39b103c52
2016-09-15 14:21:06 +02:00