GUI integration of rotation angle setting
This commit is contained in:
parent
3813402aa3
commit
2921302fe9
9 changed files with 26 additions and 10 deletions
|
@ -32,7 +32,7 @@ public:
|
|||
out.y=(x-origin.x) * sin(angle) + (y-origin.y) * cos(angle);
|
||||
return out+origin;
|
||||
}
|
||||
|
||||
|
||||
float x;
|
||||
float y;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue