mirror of
https://github.com/zeldaret/botw
synced 2026-07-10 22:31:54 -04:00
ksys/phys: Move Constraint stuff to a separate folder
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "KingSystem/ActorSystem/actPhysicsConstraints.h"
|
||||
#include "KingSystem/Physics/System/physConstraint.h"
|
||||
#include "KingSystem/Physics/Constraint/physConstraint.h"
|
||||
|
||||
namespace ksys::act {
|
||||
|
||||
|
||||
@@ -4,6 +4,9 @@ target_sources(uking PRIVATE
|
||||
Cloth/physClothResource.cpp
|
||||
Cloth/physClothResource.h
|
||||
|
||||
Constraint/physConstraint.cpp
|
||||
Constraint/physConstraint.h
|
||||
|
||||
Ragdoll/physRagdollConfig.cpp
|
||||
Ragdoll/physRagdollConfig.h
|
||||
Ragdoll/physRagdollControllerKeyList.h
|
||||
@@ -102,8 +105,6 @@ target_sources(uking PRIVATE
|
||||
System/physCharacterControllerParam.h
|
||||
System/physCollisionInfo.cpp
|
||||
System/physCollisionInfo.h
|
||||
System/physConstraint.cpp
|
||||
System/physConstraint.h
|
||||
System/physContactInfoParam.cpp
|
||||
System/physContactInfoParam.h
|
||||
System/physContactLayerCollisionInfo.cpp
|
||||
|
||||
+2
-3
@@ -1,10 +1,9 @@
|
||||
#include "KingSystem/Physics/System/physConstraint.h"
|
||||
#include "KingSystem/Physics/Constraint//physConstraint.h"
|
||||
|
||||
namespace ksys::phys {
|
||||
|
||||
void Constraint::destroy(Constraint* instance) {
|
||||
if (instance)
|
||||
delete instance;
|
||||
delete instance;
|
||||
}
|
||||
|
||||
} // namespace ksys::phys
|
||||
Reference in New Issue
Block a user