3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #include "primitivetype.h"
13 std::istream &operator>>(std::istream &in, PrimitiveType &pt)
22 else if(str=="LINE_LOOP")
24 else if(str=="LINE_STRIP")
26 else if(str=="TRIANGLES")
28 else if(str=="TRIANGLE_STRIP")
30 else if(str=="TRIANGLE_FAN")
34 else if(str=="QUAD_STRIP")
36 else if(str=="POLYGON")
39 in.setstate(std::ios_base::failbit);