Defines vertex component for position vectors. Usage is explained here.
More...
#include <Vertex.h>
|
float | x |
| Holds the positional x-component of this vertex.
|
|
float | y |
| Holds the positional y-component of this vertex.
|
|
float | z |
| Holds the positional z-component of this vertex.
|
|
float | w |
| Holds the positional w-component of this vertex. This will be 1 usually.
|
|
Defines vertex component for position vectors. Usage is explained here.
- Author
- Leonid Kostrykin
- Date
- 9.6.21
- Since
- API Version 3.2.0
Definition at line 39 of file Vertex.h.
◆ VertexPosition()
Carna::base::VertexPosition::VertexPosition |
( |
| ) |
|
Initializes to \( \left( 0, 0, 0, 1 \right) \).
◆ setPosition()
Sets the position vector.
Definition at line 68 of file Vertex.h.
Carna::base::VertexPosition::w |
Holds the positional w-component of this vertex. This will be 1
usually.
Definition at line 54 of file Vertex.h.
Carna::base::VertexPosition::x |
Holds the positional x-component of this vertex.
Definition at line 54 of file Vertex.h.
Carna::base::VertexPosition::y |
Holds the positional y-component of this vertex.
Definition at line 54 of file Vertex.h.
Carna::base::VertexPosition::z |
Holds the positional z-component of this vertex.
Definition at line 54 of file Vertex.h.
The documentation for this struct was generated from the following file: