OpenSubdiv/examples/simpleCpu
Sergey Sharybin f6d45a6de0 Fix compilation error on windows+msvc2013
- Some missing includes of <algorithms> in order to have
  stdd::min() and similar functions.
- Need to cast numIndices and numNVerts to int explicitly
  in order to solve warning treated as an error about
  precision loss.
- Can't do vector[0] for an empty vector, it'll generate
  a runtime range check error.
- MSVC only works fine with make_pair(foo, bar) syntax,
  without explicit template substitution here. Otherwise
  weird 'can't cast int to int&&' errors are happening.
2014-05-17 12:52:02 -07:00
..
algebra.h Fix compilation error on windows+msvc2013 2014-05-17 12:52:02 -07:00
CMakeLists.txt One more fix for the Linux cmake build 2014-04-11 18:33:11 -07:00
glhelpers.h Improve stringification of shaders & kernels in build. 2014-01-03 16:59:26 -08:00
main.cpp Decrease compiler warning thresholds and fix outstanding warnings. 2014-05-15 13:34:32 -07:00
notes.md Release Candidate 1.0 : 2012-12-10 17:15:13 -08:00
shader.glsl Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
simpleCpuSubdivision_org.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
simpleCpuSubdivision.cpp Draw contexts do not fully initialize patch arrays #281 2014-04-17 18:55:07 -07:00