diff options
Diffstat (limited to '3rdparty/bgfx/examples/common/camera.h')
-rw-r--r-- | 3rdparty/bgfx/examples/common/camera.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/3rdparty/bgfx/examples/common/camera.h b/3rdparty/bgfx/examples/common/camera.h index ba1c0cc1f96..80a77d7fb97 100644 --- a/3rdparty/bgfx/examples/common/camera.h +++ b/3rdparty/bgfx/examples/common/camera.h @@ -1,6 +1,6 @@ /* * Copyright 2013 Dario Manesku. All rights reserved. - * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause + * License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE */ #ifndef CAMERA_H_HEADER_GUARD @@ -22,7 +22,7 @@ void cameraCreate(); void cameraDestroy(); /// -void cameraSetPosition(const float* _pos); +void cameraSetPosition(const bx::Vec3& _pos); /// void cameraSetHorizontalAngle(float _horizontalAngle); @@ -37,12 +37,12 @@ void cameraSetKeyState(uint8_t _key, bool _down); void cameraGetViewMtx(float* _viewMtx); /// -void cameraGetPosition(float* _pos); +bx::Vec3 cameraGetPosition(); /// -void cameraGetAt(float* _at); +bx::Vec3 cameraGetAt(); /// -void cameraUpdate(float _deltaTime, const entry::MouseState& _mouseState); +void cameraUpdate(float _deltaTime, const entry::MouseState& _mouseState, bool _reset = false); #endif // CAMERA_H_HEADER_GUARD |