mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-24 01:40:00 +00:00
original multiplying rotational cords for minigun
This commit is contained in:
parent
669db1a293
commit
94e3c30054
|
@ -13389,6 +13389,8 @@ CPed::PossiblyFindBetterPosToSeekCar(CVector *pos, CVehicle *veh)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern CVector vecTestTemp(-1.0f, -1.0f, -1.0f);
|
||||||
|
|
||||||
// --MIAMI: Done except comment
|
// --MIAMI: Done except comment
|
||||||
void
|
void
|
||||||
CPed::Render(void)
|
CPed::Render(void)
|
||||||
|
@ -13423,7 +13425,10 @@ CPed::Render(void)
|
||||||
|
|
||||||
// TODO(Miami): What are those numbers?!
|
// TODO(Miami): What are those numbers?!
|
||||||
// localAdjMat.Rotate(flt_691FFC * flt_97F878, flt_691FF8 * flt_97F87C, flt_691FF4 * flt_97F880);
|
// localAdjMat.Rotate(flt_691FFC * flt_97F878, flt_691FF8 * flt_97F87C, flt_691FF4 * flt_97F880);
|
||||||
localAdjMat.Rotate(0.078f, -0.519f, -0.0185f);
|
float rotX = DEGTORAD(-4.469f)* vecTestTemp.x;
|
||||||
|
float rotY = DEGTORAD(27.736f) * vecTestTemp.y;
|
||||||
|
float rotZ = DEGTORAD(1.064f) * vecTestTemp.z;
|
||||||
|
localAdjMat.Rotate(rotX, rotY, rotZ);
|
||||||
localAdjMat.GetPosition() += CVector(0.829f, -0.001f, 0.226f);
|
localAdjMat.GetPosition() += CVector(0.829f, -0.001f, 0.226f);
|
||||||
mgTopMat = mgTopMat * localAdjMat;
|
mgTopMat = mgTopMat * localAdjMat;
|
||||||
mgTopMat.UpdateRW();
|
mgTopMat.UpdateRW();
|
||||||
|
|
Loading…
Reference in a new issue