]> git.tdb.fi Git - libs/gl.git/blobdiff - source/primitivebuilder.cpp
Style update: add spaces around assignment operators
[libs/gl.git] / source / primitivebuilder.cpp
index 95faa3fb5f74aee13e63f392bda69e4871d700e5..e032a441c00603062e750eb9367c2025c4023e1c 100644 (file)
@@ -21,8 +21,8 @@ void PrimitiveBuilder::begin(PrimitiveType t)
        if(in_batch)
                throw InvalidState("begin() already called");
 
-       type=t;
-       in_batch=true;
+       type = t;
+       in_batch = true;
 
        begin_();
 }
@@ -32,7 +32,7 @@ void PrimitiveBuilder::end()
        if(!in_batch)
                throw InvalidState("end() called without begin()");
 
-       in_batch=false;
+       in_batch = false;
 
        end_();
 }