opensurgsim
|
Data for a cube, vertices, color, textures and triangles This cube is for using as a mesh. More...
Go to the source code of this file.
Namespaces | |
SurgSim | |
Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui needs glew but we need to call glewInit() from a osg callback, using this call we avoid getting warnings about redefinitions. | |
Data for a cube, vertices, color, textures and triangles This cube is for using as a mesh.
OpenGl does not support per face attributes, therefore to implement sharp edges vertices are duplicated over different faces, for a cube all vertices need to exist as three copies