Represents a 2D Point.
More...
|
| Point () noexcept |
|
| Point (float x, float y) noexcept |
|
|
float | _x |
| The x component of the point position.
|
|
float | _y |
| The y component of the point position.
|
|
◆ Point() [1/2]
nkMaths::Point::Point |
( |
| ) |
|
|
noexcept |
Default constructor. Defaults all members to 0.
◆ Point() [2/2]
nkMaths::Point::Point |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
noexcept |
Constructor.
- Parameters
-
x | The x component of the point's position. |
y | The y component of the point's position. |
The documentation for this class was generated from the following file:
- Documentation/Headers/NilkinsMaths/Geometry/Point.h