mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
Make vector constants class-scope
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "CSamusFaceReflection.hpp"
|
||||
#include "GameGlobalObjects.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
@@ -6,9 +7,13 @@ namespace MP1
|
||||
{
|
||||
|
||||
CSamusFaceReflection::CSamusFaceReflection(CStateManager& stateMgr)
|
||||
: x4c_lights(8, zeus::CVector3f::skZero, 4, 4, false, 0, 0, 0.1f)
|
||||
: x0_modelData(CAnimRes(g_ResFactory->GetResourceIdByName("ACS_SamusFace")->id,
|
||||
0, zeus::CVector3f::skOne, 0, true)),
|
||||
x4c_lights(std::make_unique<CActorLights>(8, zeus::CVector3f::skZero, 4, 4, false, 0, 0, 0.1f))
|
||||
{
|
||||
|
||||
x60_ = zeus::CVector3f::skForward;
|
||||
CAnimPlaybackParms parms(0, -1, 1.f, true);
|
||||
x0_modelData.AnimationData()->SetAnimation(parms, false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user