mirror of
https://github.com/NoelFB/blah.git
synced 2024-11-29 17:08:56 +08:00
additional circle constructor
This commit is contained in:
parent
37a966263d
commit
e345ad66d5
|
@ -14,6 +14,9 @@ namespace Blah
|
|||
Circle(Vec2 center, float radius)
|
||||
: center(center), radius(radius) {}
|
||||
|
||||
Circle(float x, float y, float radius)
|
||||
: center(x, y), radius(radius) {}
|
||||
|
||||
void project(const Vec2& axis, float* min, float* max) const;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user