mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-19 03:57:14 +01:00
Update Circle to comply with the changes made to Vector2.
This commit is contained in:
parent
aa65c79926
commit
484923790a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user