Leonardo Serrano

Results 4 comments of Leonardo Serrano

Hello @ebachard I'd say your problem is here: ```cpp static float rotation = (ImGui::IsKeyPressed(ImGui::GetIO().KeyCtrl) == true) ? radius_y / radius_x : 0.0f; ``` Specifically, `(ImGui::IsKeyPressed(ImGui::GetIO().KeyCtrl) == true)` is probably not...

You are probably right, @ocornut there is not an outstanding reason for why I've added rotation to ellipses. It was a combination of my own personal need and the fact...

For background, I'm using ImGui's primitives for a quick program to render a 2D model of the solar system. Trying to avoid either writing up my own methods for primitives...

Haha, I meant I was TRYING to avoid writing my own methods. Actually, I think a more performant solution for me would be to draw my ellipses w/ GLSL especially...