- 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: 878
Latest pastes
16 hours ago
17 hours ago
1 days ago
2 days ago
4 days ago