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
|
Line | |
---|
1 | #ifndef CAMERA_H |
---|
2 | #define CAMERA_H |
---|
3 | |
---|
4 | /* FIXME camera steps will need to depend on extents. */ |
---|
5 | #define CAMERA_YAW_STEP 0.1 |
---|
6 | #define CAMERA_PITCH_STEP 0.1 |
---|
7 | #define CAMERA_TRACK_STEP 0.025 |
---|
8 | #define CAMERA_STRAFE_STEP 0.025 |
---|
9 | #define CAMERA_ZOOM_STEP 0.025 |
---|
10 | |
---|
11 | extern void camera_home(void); |
---|
12 | extern void camera_pitch(float theta); |
---|
13 | extern void camera_strafe(float dist); |
---|
14 | extern void camera_track(float dist); |
---|
15 | extern void camera_yaw(float theta); |
---|
16 | extern void camera_zoom(float dist); |
---|
17 | |
---|
18 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.