#include <sgl.h>
A Point object represents a location within a Window's viewport. The (x,y) values are given in viewport coordinates.
◆ Point() [1/2]
sgl::Point::Point |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
inline |
Initializes the points coordinates.
- Parameters
-
x | the x coordinate of the new point's location. |
y | the y coordinate of the new point's location. |
◆ Point() [2/2]
This default constructor makes a point at the origin (0,0).
The x coordinate of the point's location.
The y coordinate of the point's location.
The documentation for this struct was generated from the following file: