Decompile fn_19126 (CPokJukEffect::FaceCamera)

Batch #12809 by cremane: 1 byte-identical, 0 confirmed by peer review.

- fn_19126 CPokJukEffect::FaceCamera: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-06 01:02:10 +00:00
commit cb97405edc

View file

@ -256,8 +256,8 @@ void CPokJukEffect::FaceCamera(vector3d* corners) {
const int pitch = (450 - static_cast<int>(static_cast<CGameMode*>(g_modeMgr.GetGameMode())->camera->camera.pitch)) % 360;
for (int corner = 0; corner < 4; ++corner) {
const float y = corners[corner].y;
const float z = corners[corner].z;
const float y = corners[corner].y;
corners[corner].z = z * g_cosTable[pitch] - y * g_sinTable[pitch];
corners[corner].y = y * g_cosTable[pitch] + z * g_sinTable[pitch];
}