mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-06 05:37:11 +02:00
Update Circle to comply with the changes made to Vector2.
This commit is contained in:
1 parent
aa65c79926
commit
484923790a
1 file changed
+2
-2
@@ -402,13 +402,13 @@ void Circle::SetValues(const Vector2 & np, Value nr)
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void Circle::SetPositionEx(Value nx, Value ny)
|
||||
{
|
||||
pos.Set(nx, ny);
|
||||
pos.SetVector2Ex(nx, ny);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void Circle::SetValuesEx(Value nx, Value ny, Value nr)
|
||||
{
|
||||
pos.Set(nx, ny);
|
||||
pos.SetVector2Ex(nx, ny);
|
||||
rad = nr;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user