Improved code style consistency

This commit is contained in:
Robert Osfield
2010-10-28 14:01:10 +00:00
parent 441d832536
commit ea98b1a9f8

View File

@@ -60,11 +60,12 @@ void Geometry::write(DataOutputStream* out){
out->writeBool(getVertexArray()!=0);
if (getVertexArray())
{
out->writeArray(getVertexArray());
out->writeArray(getVertexArray());
}
// Write vertex indices if any
out->writeBool(getVertexIndices()!=0);
if (getVertexIndices()){
if (getVertexIndices())
{
out->writeArray(getVertexIndices());
}