summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/28-wireframe/wireframe.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/examples/28-wireframe/wireframe.cpp')
-rw-r--r--3rdparty/bgfx/examples/28-wireframe/wireframe.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/3rdparty/bgfx/examples/28-wireframe/wireframe.cpp b/3rdparty/bgfx/examples/28-wireframe/wireframe.cpp
index b1c3d30f801..5529b2c2434 100644
--- a/3rdparty/bgfx/examples/28-wireframe/wireframe.cpp
+++ b/3rdparty/bgfx/examples/28-wireframe/wireframe.cpp
@@ -29,8 +29,8 @@ struct Camera
void reset()
{
- m_target.curr = { 0.0f, 0.0f, 0.0f };
- m_target.dest = { 0.0f, 0.0f, 0.0f };
+ m_target.curr = bx::init::Zero;
+ m_target.dest = bx::init::Zero;
m_pos.curr = { 0.0f, 0.0f, -2.0f };
m_pos.dest = { 0.0f, 0.0f, -2.0f };
@@ -135,8 +135,8 @@ struct Camera
struct Interp3f
{
- bx::Vec3 curr;
- bx::Vec3 dest;
+ bx::Vec3 curr = bx::init::None;
+ bx::Vec3 dest = bx::init::None;
};
Interp3f m_target;