- double pitchSin = Math.Sin(FPitchCounter);
- FPitchCounter += e.DeltaTime / 3;
- if (FPitchCounter > (2 * Math.PI))
- {
- FPitchCounter = 0;
- }
- double yawSin = Math.Sin(FYawCounter);
- FYawCounter += e.DeltaTime / 4;
- if (FYawCounter > (2 * Math.PI))
- {
- FYawCounter = 0;
- }
- FElmTiming.Pitch = (float)pitchSin / 4;
- FElmTiming.Yaw = (float)yawSin / 4;
sdfsdd
By: dfs | Date: Oct 12 2009 07:51 | Format: None | Expires: never | Size: 671 B | Hits: 813
Latest pastes
6 hours ago
1 days ago
3 days ago
3 days ago
3 days ago