![]() |
Calamity Engine 1.0.0
A cross-platform 2D game engine written in C++ and SDL3.
|
#include <definitions.hpp>
Public Member Functions | |
| Segment () | |
| Segment (const b2Segment &segment) | |
| operator b2Segment () const | |
| template<class Archive > | |
| void | serialize (Archive &ar) |
Public Attributes | |
| Vector2 | point1 |
| Vector2 | point2 |
The segment class defines two points, each at the end of the segment.
| Segment::Segment | ( | ) |
|
explicit |
| Segment::operator b2Segment | ( | ) | const |
|
inline |
| Vector2 Segment::point1 |
| Vector2 Segment::point2 |