Vectors & Rects
The Scar::Vec class is a full-blown vector class with many mathematical functions. It can be initialized with x and y values. It is actually just an extended SF::Vector2, so you can use the two names interchangeably. All methods are listed in the reference.
The Scar::Rect class similarly is just a wrapper around SF::Rect.
Last updated
Was this helpful?