|
BEEP-8 Helper Lib 1.0.0
|
Represents a triangle in 2D space using three points. More...
#include <submath.h>
Public Member Functions | |
| Poly ()=default | |
| Default constructor. | |
| Poly (fx8 x0, fx8 y0, fx8 x1, fx8 y1, fx8 x2, fx8 y2) | |
Public Attributes | |
| Vec | pos0 |
| The first vertex of the triangle. | |
| Vec | pos1 |
| The second vertex of the triangle. | |
| Vec | pos2 |
| The third vertex of the triangle. | |
Represents a triangle in 2D space using three points.
The Poly structure defines a triangle with three vertices, pos0, pos1, and pos2, each represented by a vec structure. This structure can be used to define and manipulate triangles in 2D graphics applications.