|
Capycore Engine
0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
|
Represents a point in 2D space. More...
#include <point.h>
Public Member Functions | |
| Point () | |
| Point (float x, float y) | |
| Point | distance_to (const Point &other) const |
| Calculates the distance to another point. | |
Public Attributes | |
| float | x |
| float | y |
Represents a point in 2D space.
| Point::Point | ( | ) |
| Point::Point | ( | float | x, |
| float | y | ||
| ) |
Calculates the distance to another point.
| other | The other point to calculate the distance to. |
| float Point::x |
| float Point::y |