Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
nirt::video::S3DVertex Class Reference

standard vertex used by the Nirtcpp engine. More...

#include <nirtcpp/core/engine/S3DVertex.hpp>

Inheritance diagram for nirt::video::S3DVertex:
Inheritance graph
Collaboration diagram for nirt::video::S3DVertex:
Collaboration graph

Public Member Functions

 S3DVertex ()
 default constructor
 
 S3DVertex (f32 x, f32 y, f32 z, f32 nx, f32 ny, f32 nz, SColor c, f32 tu, f32 tv)
 constructor
 
 S3DVertex (const core::vector3df &pos, const core::vector3df &normal, SColor color, const core::vector2d< f32 > &tcoords)
 constructor
 
bool operator== (const S3DVertex &other) const
 
bool operator!= (const S3DVertex &other) const
 
bool operator< (const S3DVertex &other) const
 
S3DVertex getInterpolated (const S3DVertex &other, f32 d)
 

Static Public Member Functions

static E_VERTEX_TYPE getType ()
 Get type of the class.
 

Public Attributes

core::vector3df Pos
 Position.
 
core::vector3df Normal
 Normal vector.
 
SColor Color
 Color.
 
core::vector2d< f32TCoords
 Texture coordinates.
 

Detailed Description

standard vertex used by the Nirtcpp engine.


The documentation for this class was generated from the following file:

Nirtcpp    @cppfx.xyz

Esvcpp    esv::print