Added initializer types.

This commit is contained in:
Бранимир Караџић
2021-09-06 09:03:26 -07:00
parent 9ab8494bdd
commit f1ddf67114
12 changed files with 105 additions and 119 deletions

View File

@@ -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;