Procházet zdrojové kódy

Initialize pose to identity

Daniele Bartolini před 11 roky
rodič
revize
ea6ad68577
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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_render_world(render_world)
 	, m_width(width)
 	, m_width(width)
 	, m_height(height)
 	, m_height(height)
+	, m_pose(matrix4x4::IDENTITY)
 	, m_visible(true)
 	, m_visible(true)
 {
 {
 	set_orthographic_rh(m_projection, 0, width, 0, height, -0.01f, 100.0f);
 	set_orthographic_rh(m_projection, 0, width, 0, height, -0.01f, 100.0f);