Saga3D API Documentation
1.0-RC4
|
Go to the documentation of this file. 1 #ifndef __S3D_VERTEX_H_INCLUDED__
2 #define __S3D_VERTEX_H_INCLUDED__
28 glm::vec4 color,
const glm::vec2&
TextureCoords,
const glm::vec3& tangent,
const glm::vec3& bitangent)
S3DVertex(const glm::vec3 &Position, const glm::vec3 &normal, glm::vec4 color, const glm::vec2 &TextureCoords)
standard vertex used by the Irrlicht engine.
bool operator==(const S3DVertex &other) const
bool operator!=(const S3DVertex &other) const
S3DVertex()
default constructor
S3DVertex(const glm::vec3 &Position, const glm::vec3 &normal, glm::vec4 color, const glm::vec2 &TextureCoords, const glm::vec3 &tangent, const glm::vec3 &bitangent)
S3DVertex(float x, float y, float z)
bool operator<(const S3DVertex &other) const
S3DVertex getInterpolated(const S3DVertex &other, float d)
std::vector< unsigned char > Attributes
const T clamp(const T &value, const T &low, const T &high)
clamps a value between low and high