chrono::opengl::ChOpenGLVertexAttributesPADSN Class Reference

Description

Support for ADS lighting with glow.

#include <ChOpenGLVertexAttributes.h>

Public Member Functions

 ChOpenGLVertexAttributesPADSN (const glm::vec3 &p, const glm::vec3 &c_a, const glm::vec3 &c_d, const glm::vec3 &c_s, const glm::vec3 &n)
 
 ChOpenGLVertexAttributesPADSN (const ChOpenGLVertexAttributesPADSN &other)
 

Public Attributes

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