diff options
author | 2021-10-02 18:21:12 +0200 | |
---|---|---|
committer | 2021-10-02 12:21:12 -0400 | |
commit | 0eeb918991d9d9d5acac6eab82fb6b73b9ff71b4 (patch) | |
tree | b6cf6f1b41da8b7650252e8275e69573811692aa /3rdparty/bgfx/examples/28-wireframe/wireframe.cpp | |
parent | 1d61695dabe1aebe22a5db080ec7cc3dac680906 (diff) |
Update bgfx, bx and bimg to latest upstream (fixes issue #8057) (#8645)
Diffstat (limited to '3rdparty/bgfx/examples/28-wireframe/wireframe.cpp')
-rw-r--r-- | 3rdparty/bgfx/examples/28-wireframe/wireframe.cpp | 8 |
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; |