First post, by superfury
UniPCemu currently just uses a simple dead zone, drawing a square around the 0,0 coordinate, then from that square onwards to the outer edge square(which is drawn at -32768,-32768-32767,32767) it accelerates by simple multiplication the given remainder of the area to the resulting x,y, coordinate to once again use the full 16-bit range again.
Does anyone know how to accomplish this with circles? So I want a circle around 0,0 of a certain radius, then a circle around the 16-bit range radius, change everything within said radius to 0,0 , while everything outside said circle(actually from the radius and onwards) until the border of the circle being accelerated as far as the border of the circle for said angle?
Anyone knows a formula to use for this?
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io