![]() |
LibCarna Version 3.4.0
|
Defines vertex that consists of the two attributes position and normal vector. More...
#include <Vertex.hpp>
Inheritance diagram for LibCarna::base::PNVertex:
Collaboration diagram for LibCarna::base::PNVertex:Public Member Functions | |
| VERTEX_NULL_COMPONENT (Color) | |
Public Member Functions inherited from LibCarna::base::VertexPosition | |
| VertexPosition () | |
| template<typename VectorType > | |
| void | setPosition (const VectorType &position) |
Public Member Functions inherited from LibCarna::base::VertexNormal | |
| VertexNormal () | |
| template<typename VectorType > | |
| void | setNormal (const VectorType &normal) |
Static Public Attributes | |
| static const VertexAttributes | attributes |
| Holds the declaration of the vertex format. | |
Additional Inherited Members | |
Public Attributes inherited from LibCarna::base::VertexPosition | |
| 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. | |
Public Attributes inherited from LibCarna::base::VertexNormal | |
| float | nx |
| Holds the normal vector x-component of this vertex. | |
| float | ny |
| Holds the normal vector y-component of this vertex. | |
| float | nz |
| Holds the normal vector z-component of this vertex. | |
| float | nw |
Holds the normal vector w-component of this vertex. This will be 0 usually. | |
Defines vertex that consists of the two attributes position and normal vector.
Definition at line 301 of file Vertex.hpp.
| LibCarna::base::PNVertex::VERTEX_NULL_COMPONENT | ( | Color | ) |
Declares missing component.
|
static |
Holds the declaration of the vertex format.
Definition at line 308 of file Vertex.hpp.
Written by Leonid Kostrykin © 2021–2025. Based on Carna (© 2010-2016).
Documentation generated by Doxygen