Last change
on this file since 5685 was
5385,
checked in by jack, 17 years ago
|
Added 'h' to warp the camera back home.
|
File size:
494 bytes
|
Rev | Line | |
---|
[5292] | 1 | #ifndef CAMERA_H |
---|
| 2 | #define CAMERA_H |
---|
| 3 | |
---|
[5379] | 4 | /* FIXME camera steps will need to depend on extents. */ |
---|
[5330] | 5 | #define CAMERA_YAW_STEP 0.1 |
---|
| 6 | #define CAMERA_PITCH_STEP 0.1 |
---|
[5384] | 7 | #define CAMERA_TRACK_STEP 0.025 |
---|
| 8 | #define CAMERA_STRAFE_STEP 0.025 |
---|
| 9 | #define CAMERA_ZOOM_STEP 0.025 |
---|
[5292] | 10 | |
---|
[5385] | 11 | extern void camera_home(void); |
---|
[5339] | 12 | extern void camera_pitch(float theta); |
---|
[5385] | 13 | extern void camera_strafe(float dist); |
---|
| 14 | extern void camera_track(float dist); |
---|
[5339] | 15 | extern void camera_yaw(float theta); |
---|
[5379] | 16 | extern void camera_zoom(float dist); |
---|
[5292] | 17 | |
---|
| 18 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.