![]() |
LibCarna Version 3.4.0
|
Defines vertex component for position vectors. Usage is explained here. More...
#include <Vertex.hpp>
Inheritance diagram for LibCarna::base::VertexPosition:Public Member Functions | |
| VertexPosition () | |
| template<typename VectorType > | |
| void | setPosition (const VectorType &position) |
Public Attributes | |
| 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.
Definition at line 45 of file Vertex.hpp.
| LibCarna::base::VertexPosition::VertexPosition | ( | ) |
Initializes to \( \left( 0, 0, 0, 1 \right) \).
| void LibCarna::base::VertexPosition::setPosition | ( | const VectorType & | position | ) |
Sets the position vector.
Definition at line 74 of file Vertex.hpp.
| LibCarna::base::VertexPosition::w |
Holds the positional w-component of this vertex. This will be 1 usually.
Definition at line 60 of file Vertex.hpp.
| LibCarna::base::VertexPosition::x |
Holds the positional x-component of this vertex.
Definition at line 60 of file Vertex.hpp.
| LibCarna::base::VertexPosition::y |
Holds the positional y-component of this vertex.
Definition at line 60 of file Vertex.hpp.
| LibCarna::base::VertexPosition::z |
Holds the positional z-component of this vertex.
Definition at line 60 of file Vertex.hpp.
Written by Leonid Kostrykin © 2021–2025. Based on Carna (© 2010-2016).
Documentation generated by Doxygen