Made buffer fixed array

This commit is contained in:
Simon Lübeß
2021-09-15 18:43:45 +02:00
parent 0b8be33d68
commit b8626f3c27
2 changed files with 8 additions and 21 deletions
+1 -17
View File
@@ -545,23 +545,7 @@ namespace Sandbox
private bool OnImGuiRender(ImGuiRenderEvent e)
{
_editor.Update();
ImGui.Begin("Animation");
/*
if(AnimationPlayer != null)
{
ImGui.DragFloat("Timestamp", &AnimationPlayer.TimeStamp, 0.01f, -AnimationPlayer.CurrentClip.Duration, AnimationPlayer.CurrentClip.Duration);
while(AnimationPlayer.TimeStamp < 0)
{
AnimationPlayer.TimeStamp += AnimationPlayer.CurrentClip.Duration;
}
ImGui.Checkbox("Play", &playAnimation);
}
*/
ImGui.End();
ImGui.Begin("Test");
var v = ImGui.ColorEdit3("Square Color", ref _squareColor0);
@@ -573,7 +557,7 @@ namespace Sandbox
}
ImGui.End();
*/
return false;
}