mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 05:47:43 +00:00
zeus constexpr refactor and thermal visor fixes
This commit is contained in:
@@ -14,7 +14,7 @@ CWallWalker::CWallWalker(ECharacter chr, TUniqueId uid, std::string_view name, E
|
||||
EKnockBackVariant kbVariant, float advanceWpRadius, EWalkerType wType,
|
||||
float playerObstructionMinDist, bool disableMove)
|
||||
: CPatterned(chr, uid, name, flavType, eInfo, xf, std::move(mData), pInfo, mType, colType, bType, aParms, kbVariant)
|
||||
, x590_colSphere(zeus::CSphere(zeus::CVector3f::skZero, pInfo.GetHalfExtent()), x68_material)
|
||||
, x590_colSphere(zeus::CSphere(zeus::skZero3f, pInfo.GetHalfExtent()), x68_material)
|
||||
, x5b0_collisionCloseMargin(collisionCloseMargin)
|
||||
, x5b4_alignAngVel(alignAngVel)
|
||||
, x5c0_advanceWpRadius(advanceWpRadius)
|
||||
@@ -127,7 +127,7 @@ void CWallWalker::PreThink(float dt, CStateManager& mgr) {
|
||||
(plane.pointToPlaneDist(GetTranslation()) - x590_colSphere.GetSphere().radius - 0.01f) * plane.normal(),
|
||||
futureDt));
|
||||
}
|
||||
MoveCollisionPrimitive(zeus::CVector3f::skZero);
|
||||
MoveCollisionPrimitive(zeus::skZero3f);
|
||||
}
|
||||
|
||||
void CWallWalker::Think(float dt, CStateManager& mgr) {
|
||||
|
||||
Reference in New Issue
Block a user