瀏覽代碼

fixes https://github.com/assimp/assimp/issues/1141: fix typo.

Kim Kulling 8 年之前
父節點
當前提交
45eb13719e
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      code/D3MFImporter.cpp

+ 2 - 1
code/D3MFImporter.cpp

@@ -229,9 +229,10 @@ private:
     aiVector3D ReadVertex()
     {
         aiVector3D vertex;
+
         vertex.x = ai_strtof(xmlReader->getAttributeValue(D3MF::XmlTag::x.c_str()), nullptr);
         vertex.y = ai_strtof(xmlReader->getAttributeValue(D3MF::XmlTag::y.c_str()), nullptr);
-        vertex.z = ai_strtof>(xmlReader->getAttributeValue(D3MF::XmlTag::z.c_str()), nullptr);
+        vertex.z = ai_strtof(xmlReader->getAttributeValue(D3MF::XmlTag::z.c_str()), nullptr);
 
         return vertex;
     }