1
0
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:
Sandu Liviu Catalin 2016-07-25 00:09:31 +03:00
parent aa65c79926
commit 484923790a

View File

@ -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;
}