rectagle outline drawing
This commit is contained in:
@@ -113,9 +113,9 @@ namespace Render {
|
||||
else if (bm == BlendMode::Intersect) *img = ~*img ^ ~(0x80 >> (x%8));
|
||||
}
|
||||
|
||||
spos_t Mare::rotateXY(int16_t x, int16_t y, float rot){
|
||||
pos_t Mare::rotateXY(int16_t x, int16_t y, float rot){
|
||||
// apply rotation matrix xy
|
||||
spos_t rv;
|
||||
pos_t rv;
|
||||
float cx,sx;
|
||||
sincosf(rot, &sx, &cx);
|
||||
rv.x = x*cx - y*sx;
|
||||
|
||||
Reference in New Issue
Block a user