chrono::opengl::ChOpenGLVertexAttributesPADSNT Class Reference

Description

Support for ADS lighting with glow and texture coordinates.

#include <ChOpenGLVertexAttributes.h>

Public Member Functions

 ChOpenGLVertexAttributesPADSNT (const glm::vec3 &p, const glm::vec3 &c_a, const glm::vec3 &c_d, const glm::vec3 &c_s, const glm::vec3 &n, const glm::vec2 &t)
 
 ChOpenGLVertexAttributesPADSNT (const ChOpenGLVertexAttributesPADSNT &other)
 

Public Attributes

glm::vec3 position
 
glm::vec3 normal
 
glm::vec3 color_ambient
 
glm::vec3 color_diffuse
 
glm::vec3 color_specular
 
glm::vec2 texture_coordinate