(self, primtype)
Set the primitive type from its name (without the GL_ prefix).
Set the primitive type from its name (without the GL_ prefix).
Set the primitive type from its name ( without the GL_ prefix ) .
def set_primitive_type(self, primtype):
        """Set the primitive type from its name (without the GL_ prefix)."""
        self.primitive_type = getattr(gl, "GL_%s" % primtype.upper())
def set_primitive_type ( self , primtype ) : self . primitive_type = getattr ( gl , "GL_%s" % primtype . upper ( ) )