OpenSubdiv/examples/glViewer
manuelk 48cf4b6528 Refactor Vtr::Array for better "const" safety
Const' declared instances of Vtr::Array do not protect the pointer held
privately by the class properly. In order to force the compiler to
protect this pointer, we removed all non-const accessors from Vtr::Array
(now renamed Vtr::ConstArray) and moved them to a child class (Vtr::Array),
which requires const_cast<> operators internally to allow access.

The change & renaming is then propagated to all internal dependencies.
2014-12-15 10:23:13 -08:00
..
CMakeLists.txt Landing 3.0.0.alpha 2014-09-05 15:07:46 -07:00
glViewer.cpp Refactor Vtr::Array for better "const" safety 2014-12-15 10:23:13 -08:00
init_shapes.h Fix smooth triangles catmark weights 2014-12-11 09:19:41 -08:00
shader_gl3.glsl Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
shader.glsl Introduces 'single-crease patch' : implements "Efficient Evaluation of Semi-Smooth Creases in 2014-10-13 08:52:09 -07:00