|
Arduboy2 Library
6.0.0
|
An object to define a single point for collision functions. More...
#include <Arduboy2.h>
Public Member Functions | |
| Point ()=default | |
| The default constructor. | |
| constexpr | Point (int16_t x, int16_t y) |
| The fully initializing constructor. More... | |
Public Attributes | |
| int16_t | x |
| int16_t | y |
An object to define a single point for collision functions.
The location of the point is given by X and Y coordinates.
Definition at line 146 of file Arduboy2.h.
|
inlineconstexpr |
The fully initializing constructor.
| x | The X coordinate of the point. Copied to variable x. |
| y | The Y coordinate of the point. Copied to variable y. |
Definition at line 162 of file Arduboy2.h.
| int16_t Point::x |
The X coordinate of the point
Definition at line 148 of file Arduboy2.h.
| int16_t Point::y |
The Y coordinate of the point
Definition at line 149 of file Arduboy2.h.