diff options
| author | raysan5 <raysan5@gmail.com> | 2015-08-28 14:14:29 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2015-08-28 14:14:29 +0200 |
| commit | c52ba520cec3c9d3fdf7cb1f70da95e9396c59a9 (patch) | |
| tree | d3b6d5d422a9b2bbb40711690d2fb39e51e2592f /src/raylib.h | |
| parent | 322ca97c24f214d665cad512a70a696b489ecb52 (diff) | |
| download | raylib-c52ba520cec3c9d3fdf7cb1f70da95e9396c59a9.tar.gz raylib-c52ba520cec3c9d3fdf7cb1f70da95e9396c59a9.zip | |
Small tweaks
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/raylib.h b/src/raylib.h index f5220e2e..5ceb3fc1 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -517,18 +517,19 @@ float GetGesturePinchAngle(void); // Get gesture pinch ang // Camera System Functions (Module: camera) //------------------------------------------------------------------------------------ void SetCameraMode(int mode); // Set camera mode (multiple camera modes available) -Camera UpdateCamera(Vector3 *playerPosition); // Update camera and player position (1st person and 3rd person cameras) +Camera UpdateCamera(Vector3 *position); // Update camera and player position (1st person and 3rd person cameras) -void SetCameraMoveControls(int frontKey, int backKey, - int leftKey, int rightKey, - int upKey, int downKey); // Set camera move controls (1st person and 3rd person cameras) +void SetCameraPosition(Vector3 position); // Set internal camera position +void SetCameraTarget(Vector3 target); // Set internal camera target void SetCameraPanControl(int panKey); // Set camera pan key to combine with mouse movement (free camera) void SetCameraAltControl(int altKey); // Set camera alt key to combine with mouse movement (free camera) void SetCameraSmoothZoomControl(int szKey); // Set camera smooth zoom key to combine with mouse (free camera) +void SetCameraMoveControls(int frontKey, int backKey, + int leftKey, int rightKey, + int upKey, int downKey); // Set camera move controls (1st person and 3rd person cameras) void SetCameraMouseSensitivity(float sensitivity); // Set camera mouse sensitivity (1st person and 3rd person cameras) -void SetCameraTarget(Vector3 target); // Set internal camera target //------------------------------------------------------------------------------------ // Basic Shapes Drawing Functions (Module: shapes) |
