Everytime I think I fixed every issue then I find a new one 😅
So here is a few more stuff that got cleaned, most importantly a frame pacing issue that improves performance by 20% (on my laptop)
Fixed the cursor light appearing in the wrong position.
Fixed the cursor displaying the wrong state in some cases.
Fixed lighting on some SDFs caused by incorrectly oriented normals.
Improved performance by preparing the next frame while the current one is still drawing. Now frames get presented 20% faster.
