| 21 | static zCamTweakLook zcam_fartweak; |
| 22 | |
| 23 | static void zCameraTweak_LookPreCalc(zCamTweakLook* tlook, F32 d, F32 h, F32 pitch) |
| 24 | { |
| 25 | F32 tan = itan(pitch); |
| 26 | F32 deltaH = d * tan; |
| 27 | tlook->h = h - deltaH; |
| 28 | tlook->dist = xsqrt(deltaH * deltaH + d * d); |
| 29 | tlook->pitch = pitch; |
| 30 | } |
| 31 | |
| 32 | void zCameraTweakGlobal_Init() |
| 33 | { |
no test coverage detected