Kaynağa Gözat

Initialize pose to identity

Daniele Bartolini 11 yıl önce
ebeveyn
işleme
ea6ad68577
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      engine/renderers/Gui.cpp

+ 1 - 0
engine/renderers/Gui.cpp

@@ -105,6 +105,7 @@ Gui::Gui(RenderWorld& render_world, uint16_t width, uint16_t height)
 	: m_render_world(render_world)
 	, m_width(width)
 	, m_height(height)
+	, m_pose(matrix4x4::IDENTITY)
 	, m_visible(true)
 {
 	set_orthographic_rh(m_projection, 0, width, 0, height, -0.01f, 100.0f);