Protofall / Crayon-Game-Framework

My own library for making games on the Dreamcast
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Simple Sprites are shaky when zoomed out #256

Closed Protofall closed 3 years ago

Protofall commented 3 years ago

This might be a result of the 16-bit UVs, but I feel its probably because of the different ways I calculate the vertex coordinates. Easy to see.

Easy way to see this is go to the Camera-Sprite demo, camera "2" and when the red man is rotated at 0 it looks normal, but 90 and 270 looks shaky. This suggests the mid point calculations aren't quite the same as the sin/cos ones.

Protofall commented 3 years ago

The vertexes were off because the "rotation" logic was different for simple render compared to the enhanced ones.