mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 17:44:56 +00:00
More bug fixes
This commit is contained in:
@@ -176,6 +176,7 @@ public:
|
||||
boo::ObjToken<boo::IGraphicsBufferD> m_uniformBufPmus;
|
||||
|
||||
CGenDescription* GetDesc() {return x1c_genDesc.GetObj();}
|
||||
const SObjectTag* GetDescTag() const {return x1c_genDesc.GetObjectTag();}
|
||||
|
||||
static bool g_ParticleSystemInitialized;
|
||||
static int g_ParticleAliveCount;
|
||||
|
||||
@@ -66,12 +66,12 @@ CVECone::CVECone(CVectorElement* a, CRealElement* b)
|
||||
{
|
||||
zeus::CVector3f av;
|
||||
x4_direction->GetValue(0, av);
|
||||
av.normalize();
|
||||
if (av[0] > 0.8)
|
||||
zeus::CVector3f avNorm = av.normalized();
|
||||
if (avNorm.x > 0.8)
|
||||
xc_xVec = av.cross(zeus::CVector3f(0.f, 1.f, 0.f));
|
||||
else
|
||||
xc_xVec = av.cross(zeus::CVector3f(1.f, 0.f, 0.f));
|
||||
x18_yVec = av.cross(xc_xVec);
|
||||
x18_yVec = avNorm.cross(xc_xVec);
|
||||
}
|
||||
|
||||
bool CVECone::GetValue(int frame, zeus::CVector3f& valOut) const
|
||||
|
||||
Reference in New Issue
Block a user