translation gizmo
this was like
miserable to make lol
it took me sooooooo long to get translation working, basically i had this samurai battle with a scaling issue for the longest time, i accidentally told my code that the viewport was smaller than it actually was and it just took forever to find that out
this issue caused a really annoying issue where the actual location of the rendered gizmo was different than the clickable area
there was also this other issue where the gizmo would move twice the speed of the mesh it was translating, but it was just a flaw with the mesh class, the gizmo was basically constantly recieving its own center as well as the meshes’ center which made it translate double
but it works now, i think it works pretty well 
its all based off of the modular command system, so anything can call translatemeshcommand and it translate meshes
next is prolly working on rotate and scale and stuff, all the other gizmos that we need
the gizmos also meant a new .vert and .frag pair, and a whole new vulkan render pipeline lol
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.