Browse Source

glTFExporter fixes: spaces to tabs

Kangning Li 9 years ago
parent
commit
f15b6177f7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      code/glTFExporter.cpp

+ 3 - 3
code/glTFExporter.cpp

@@ -152,14 +152,14 @@ inline Ref<Accessor> ExportData(Asset& a, std::string& meshName, Ref<Buffer>& bu
     // bufferView
     Ref<BufferView> bv = a.bufferViews.Create(a.FindUniqueID(meshName, "view"));
     bv->buffer = buffer;
-	bv->byteOffset = unsigned(offset);
-	bv->byteLength = length; //! The target that the WebGL buffer should be bound to.
+    bv->byteOffset = unsigned(offset);
+    bv->byteLength = length; //! The target that the WebGL buffer should be bound to.
     bv->target = isIndices ? BufferViewTarget_ELEMENT_ARRAY_BUFFER : BufferViewTarget_ARRAY_BUFFER;
 
     // accessor
     Ref<Accessor> acc = a.accessors.Create(a.FindUniqueID(meshName, "accessor"));
     acc->bufferView = bv;
-	acc->byteOffset = 0;
+    acc->byteOffset = 0;
     acc->byteStride = 0;
     acc->componentType = compType;
     acc->count = count;