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