1 #include "primitivetype.h"
6 std::istream &operator>>(std::istream &in, PrimitiveType &pt)
15 else if(str=="LINE_LOOP")
17 else if(str=="LINE_STRIP")
19 else if(str=="TRIANGLES")
21 else if(str=="TRIANGLE_STRIP")
23 else if(str=="TRIANGLE_FAN")
27 else if(str=="QUAD_STRIP")
29 else if(str=="POLYGON")
32 in.setstate(std::ios_base::failbit);