OpenSubdiv/examples/glStencilViewer
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 WIP limit stencils factory 2014-09-12 16:59:16 -07:00
glStencilViewer.cpp Refactor Vtr::Array for better "const" safety 2014-12-15 10:23:13 -08:00
init_shapes.h Add test shapes to glStencilViewer code example (gregory test 6 & 7) 2014-11-11 11:29:33 -08:00