ZxID:1019634
关注Ta
Put this in PostV_Calcrefdef...credit or no credit, doesn't matter.
Code: float yaw = pparams->viewangles[1]*(3.14159265358979323846/180.0); mainViewAngles_SinYaw = sin(yaw); mainViewAngles_CosYaw = cos(yaw);