ksys/phys: rename physStaticCompoundUtil to physUtil

Most of these helpers have nothing to do with StaticCompound: they look
up material masks and collision filter info from shapes and collidables.
physUtil also fits the link order, between physUserTag and physWorld,
and it's what the function groups already call this block.

(AI assisted using Claude Opus 5.5)
This commit is contained in:
Léo Lam
2026-10-16 18:51:17 +03:00
parent 65ea3f7cdd
commit 7286390bea
7 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -176,14 +176,14 @@ target_sources(uking PRIVATE
System/physStaticCompoundMgr.h
System/physStaticCompoundRigidBodyGroup.cpp
System/physStaticCompoundRigidBodyGroup.h
System/physStaticCompoundUtil.cpp
System/physStaticCompoundUtil.h
System/physSystem.cpp
System/physSystem.h
System/physSystemData.cpp
System/physSystemData.h
System/physUserTag.cpp
System/physUserTag.h
System/physUtil.cpp
System/physUtil.h
physConversions.h
physDefines.cpp
@@ -1,7 +1,7 @@
#include "KingSystem/Physics/RigidBody/TeraMesh/physTeraMeshRigidBody.h"
#include <Havok/Physics2012/Dynamics/Entity/hkpRigidBody.h>
#include "KingSystem/Physics/RigidBody/physRigidBodyParam.h"
#include "KingSystem/Physics/System/physStaticCompoundUtil.h"
#include "KingSystem/Physics/System/physUtil.h"
namespace ksys::phys {
@@ -5,7 +5,7 @@
#include <Havok/Physics2012/Utilities/Dynamics/ScaleSystem/hkpSystemScalingUtility.h>
#include <math/seadMathCalcCommon.h>
#include "KingSystem/Physics/RigidBody/physRigidBodyParam.h"
#include "KingSystem/Physics/System/physStaticCompoundUtil.h"
#include "KingSystem/Physics/System/physUtil.h"
#include "KingSystem/Physics/physConversions.h"
#include "KingSystem/Physics/physMaterialMask.h"
@@ -17,8 +17,8 @@
#include "KingSystem/Physics/System/physEntityContactListener.h"
#include "KingSystem/Physics/System/physGroupFilter.h"
#include "KingSystem/Physics/System/physPhantom.h"
#include "KingSystem/Physics/System/physStaticCompoundUtil.h"
#include "KingSystem/Physics/System/physSystem.h"
#include "KingSystem/Physics/System/physUtil.h"
#include "KingSystem/Physics/physConversions.h"
#include "KingSystem/Physics/physLayerMaskBuilder.h"
@@ -1 +0,0 @@
#include "KingSystem/Physics/System/physStaticCompoundUtil.h"
@@ -0,0 +1 @@
#include "KingSystem/Physics/System/physUtil.h"