mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-04 01:03:00 -04:00
d_ky_thunder small fix
This commit is contained in:
@@ -179,8 +179,8 @@ s32 dThunder_c::create() {
|
||||
}
|
||||
|
||||
cXyz rot;
|
||||
rot.x = cM_ssin(rotY) * cM_scos(rotX);
|
||||
rot.z = cM_ssin(rotY) * cM_ssin(rotX);
|
||||
rot.x = cM_scos(rotY) * cM_ssin(rotX);
|
||||
rot.z = cM_scos(rotY) * cM_scos(rotX);
|
||||
|
||||
f32 baseXZ = cM_rndF(offs.x);
|
||||
mPos.x = pCamera->mLookat.mEye.x + fwd.x * 100000.0f + rot.x * baseXZ;
|
||||
|
||||
Reference in New Issue
Block a user