mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Added initializer types.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user