@@ -67,45 +67,18 @@ class Camera3D : public ::Camera3D {
6767 }
6868
6969 /* *
70- * Set camera mode (multiple camera modes available)
71- */
72- inline Camera3D& SetMode (int mode) {
73- ::SetCameraMode (*this , mode);
74- return *this ;
75- }
76-
77- /* *
78- * Set camera alt key to combine with mouse movement (free camera)
79- */
80- inline Camera3D& SetAltControl (int altKey) {
81- ::SetCameraAltControl (altKey);
82- return *this ;
83- }
84-
85- /* *
86- * Set camera smooth zoom key to combine with mouse (free camera)
87- */
88- inline Camera3D& SetSmoothZoomControl (int szKey) {
89- ::SetCameraSmoothZoomControl (szKey);
90- return *this ;
91- }
92-
93- /* *
94- * Set camera move controls (1st person and 3rd person cameras)
70+ * Update camera position for selected mode
9571 */
96- inline Camera3D& SetMoveControls (
97- int frontKey, int backKey,
98- int rightKey, int leftKey,
99- int upKey, int downKey) {
100- ::SetCameraMoveControls (frontKey, backKey, rightKey, leftKey, upKey, downKey);
72+ inline Camera3D& Update (int mode) {
73+ ::UpdateCamera (this , mode);
10174 return *this ;
10275 }
10376
10477 /* *
105- * Update camera position for selected mode
78+ * Update camera movement/rotation
10679 */
107- inline Camera3D& Update () {
108- ::UpdateCamera (this );
80+ inline Camera3D& Update (::Vector3 movement, ::Vector3 rotation, float zoom = 1 . 0f ) {
81+ ::UpdateCameraPro (this , movement, rotation, zoom );
10982 return *this ;
11083 }
11184
0 commit comments