Merge pull request #455 from takahito-tejima/bugfix

Fix glPtexViewer backfacing bug: initialize handedness flag in Shape
This commit is contained in:
David G Yu 2015-04-30 10:02:40 -07:00
commit c2e2651b80

View File

@ -81,6 +81,8 @@ struct Shape {
std::string genRIB() const;
Shape() : scheme(kCatmark), isLeftHanded(false) { }
~Shape();
int GetNumVertices() const { return (int)verts.size()/3; }