Closed jameslkingsley closed 7 years ago
There is a lot of code running per-frame and it's all over the place. Multiple per-frame functions call objectUnderCursor and repeat a lot of stuff. This is causing pretty terrible FPS issues.
objectUnderCursor
PF = Per-Frame C = Conditional
Also a bunch of functions repeated in Mouse[Up, Down, Moving] that could otherwise be stored once per-frame.
There is a lot of code running per-frame and it's all over the place. Multiple per-frame functions call
objectUnderCursor
and repeat a lot of stuff. This is causing pretty terrible FPS issues.