summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/examples/common/camera.cpp')
-rw-r--r--3rdparty/bgfx/examples/common/camera.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/bgfx/examples/common/camera.cpp b/3rdparty/bgfx/examples/common/camera.cpp
index 3c154aac128..eb5ed59e82f 100644
--- a/3rdparty/bgfx/examples/common/camera.cpp
+++ b/3rdparty/bgfx/examples/common/camera.cpp
@@ -264,9 +264,9 @@ struct Camera
MouseCoords m_mouseNow;
MouseCoords m_mouseLast;
- bx::Vec3 m_eye;
- bx::Vec3 m_at;
- bx::Vec3 m_up;
+ bx::Vec3 m_eye = bx::init::Zero;
+ bx::Vec3 m_at = bx::init::Zero;
+ bx::Vec3 m_up = bx::init::Zero;
float m_horizontalAngle;
float m_verticalAngle;