Duckcpp 2.1.0
Duckcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
dcpp::video::S3DVertex2TCoords Class Reference

Vertex with two texture coordinates. More...

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

Inheritance diagram for dcpp::video::S3DVertex2TCoords:
Inheritance graph
Collaboration diagram for dcpp::video::S3DVertex2TCoords:
Collaboration graph

Public Member Functions

 S3DVertex2TCoords ()
 default constructor
 
 S3DVertex2TCoords (dcpp::float32_kt x, dcpp::float32_kt y, dcpp::float32_kt z, SColor c, dcpp::float32_kt tu, dcpp::float32_kt tv, dcpp::float32_kt tu2, dcpp::float32_kt tv2)
 constructor with two different texture coords, but no normal
 
 S3DVertex2TCoords (const dcpp::nub::vector3df &pos, SColor color, const dcpp::nub::vector2df &tcoords, const dcpp::nub::vector2df &tcoords2)
 constructor with two different texture coords, but no normal
 
 S3DVertex2TCoords (const dcpp::nub::vector3df &pos, const dcpp::nub::vector3df &normal, const SColor &color, const dcpp::nub::vector2df &tcoords, const dcpp::nub::vector2df &tcoords2)
 constructor with all values
 
 S3DVertex2TCoords (dcpp::float32_kt x, dcpp::float32_kt y, dcpp::float32_kt z, dcpp::float32_kt nx, dcpp::float32_kt ny, dcpp::float32_kt nz, SColor c, dcpp::float32_kt tu, dcpp::float32_kt tv, dcpp::float32_kt tu2, dcpp::float32_kt tv2)
 constructor with all values
 
 S3DVertex2TCoords (dcpp::float32_kt x, dcpp::float32_kt y, dcpp::float32_kt z, dcpp::float32_kt nx, dcpp::float32_kt ny, dcpp::float32_kt nz, SColor c, dcpp::float32_kt tu, dcpp::float32_kt tv)
 constructor with the same texture coords and normal
 
 S3DVertex2TCoords (const dcpp::nub::vector3df &pos, const dcpp::nub::vector3df &normal, SColor color, const dcpp::nub::vector2df &tcoords)
 constructor with the same texture coords and normal
 
 S3DVertex2TCoords (const S3DVertex &o)
 constructor from S3DVertex
 
bool operator== (const S3DVertex2TCoords &other) const
 Equality operator.
 
bool operator!= (const S3DVertex2TCoords &other) const
 Inequality operator.
 
bool operator< (const S3DVertex2TCoords &other) const
 
S3DVertex2TCoords getInterpolated (const S3DVertex2TCoords &other, dcpp::float32_kt d)
 
- Public Member Functions inherited from dcpp::video::S3DVertex
 S3DVertex ()
 default constructor
 
 S3DVertex (dcpp::float32_kt x, dcpp::float32_kt y, dcpp::float32_kt z, dcpp::float32_kt nx, dcpp::float32_kt ny, dcpp::float32_kt nz, SColor c, dcpp::float32_kt tu, dcpp::float32_kt tv)
 constructor
 
 S3DVertex (const dcpp::nub::vector3df &pos, const dcpp::nub::vector3df &normal, SColor color, const dcpp::nub::vector2df &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, dcpp::float32_kt d)
 

Static Public Member Functions

static E_VERTEX_TYPE getType ()
 
- Static Public Member Functions inherited from dcpp::video::S3DVertex
static E_VERTEX_TYPE getType ()
 Get type of the class.
 

Public Attributes

dcpp::nub::vector2df TCoords2
 Second set of texture coordinates.
 
- Public Attributes inherited from dcpp::video::S3DVertex
dcpp::nub::vector3df Pos
 Position.
 
dcpp::nub::vector3df Normal
 Normal vector.
 
SColor Color
 Color.
 
dcpp::nub::vector2df TCoords
 Texture coordinates.
 

Detailed Description

Vertex with two texture coordinates.

Usually used for geometry with lightmaps or other special materials.


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

Duckcpp    @cppfx.xyz