iBrush rotation now snap cursor in an useful way (to fixed angles)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1582 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -494,9 +494,7 @@ void Line_12_5(void)
|
||||
|
||||
// On corrige les coordonnées de la ligne si la touche shift est appuyée...
|
||||
if(SDL_GetModState() & KMOD_SHIFT)
|
||||
{
|
||||
Clamp_coordinates_regular_angle(start_x,start_y,&cursor_x,&cursor_y);
|
||||
}
|
||||
|
||||
// On vient de bouger
|
||||
if ((cursor_x!=end_x) || (cursor_y!=end_y))
|
||||
|
||||
Reference in New Issue
Block a user