public void Update(float dt)
{
if (this.m_gizmo.IsValid)
{
this.UpdateGizmo();
if (this.m_gizmoEnabled)
{
this.m_gizmo.Redraw();
}
else
{
this.m_gizmo.Hide();
}
}
if (this.m_paramGroupSelection.Value)
{
AABB worldBounds = this.m_selection.WorldBounds;
Vec3 length = worldBounds.Length;
Vec3 pos = worldBounds.min + length * 0.5f;
pos.Z = worldBounds.min.Z;
Render.DrawWireBoxFromBottomZ(pos, length, 0.005f);
}
}