A single point.
More...
#include <Point.hpp>
|
glm::vec2 | m_pos |
| Position.
|
|
A single point.
Definition at line 20 of file Point.hpp.
◆ Point() [1/2]
galaxy::graphics::Point::Point |
( |
| ) |
|
◆ Point() [2/2]
galaxy::graphics::Point::Point |
( |
Point && | | ) |
|
|
default |
◆ ~Point()
galaxy::graphics::Point::~Point |
( |
| ) |
|
|
virtual |
◆ operator=()
Point & galaxy::graphics::Point::operator= |
( |
Point && | | ) |
|
|
default |
Move assignment operator.
◆ create()
void galaxy::graphics::Point::create |
( |
const glm::vec2 & | pos | ) |
|
Initial point positon.
- Parameters
-
Definition at line 27 of file Point.cpp.
◆ pos()
const glm::vec2 & galaxy::graphics::Point::pos |
( |
| ) |
const |
|
nodiscard |
Get pos.
- Returns
- Const glm::vec2 reference.
Definition at line 40 of file Point.cpp.
◆ m_pos
glm::vec2 galaxy::graphics::Point::m_pos |
|
private |
The documentation for this class was generated from the following files: