@@ -30,7 +30,7 @@ static void GetMeshData(const aiScene* scene,
3030 {
3131 Siege::SkinnedVertex vertex {};
3232 vertex.bones = {-1 , -1 , -1 , -1 };
33- vertex.weights = {0 .f , 0 .f , 0 .f , 0 .f };
33+ vertex.weights = {0 .f , 0 .f , 0 .f , 0 .f };
3434
3535 aiVector3t<ai_real> vert = mesh->mVertices [i];
3636 vertex.position = mat * Siege::Vec4 (vert.x , vert.y , vert.z , 1 .f );
@@ -100,7 +100,10 @@ static void GetMeshData(const aiScene* scene,
100100 }
101101}
102102
103- static aiMesh* FindMeshAtPath (const aiScene* scene, aiNode* node, const Siege::String& requestPath, Siege::String currentPath)
103+ static aiMesh* FindMeshAtPath (const aiScene* scene,
104+ aiNode* node,
105+ const Siege::String& requestPath,
106+ Siege::String currentPath)
104107{
105108 currentPath = currentPath + node->mName .C_Str ();
106109 CC_LOG_INFO (" Reading node at {}" , currentPath)
@@ -124,10 +127,12 @@ static aiMesh* FindMeshAtPath(const aiScene* scene, aiNode* node, const Siege::S
124127 return nullptr ;
125128}
126129
127- Siege::PackFileData* PackSkeletalMeshFile (const Siege::String& filePath, const Siege::String& assetsPath)
130+ Siege::PackFileData* PackSkeletalMeshFile (const Siege::String& filePath,
131+ const Siege::String& assetsPath)
128132{
129133 Siege::String contents = Siege::FileSystem::Read (filePath);
130- std::map<Siege::Token, Siege::String> attributes = Siege::FileSystem::ParseAttributeFileData (contents);
134+ std::map<Siege::Token, Siege::String> attributes =
135+ Siege::FileSystem::ParseAttributeFileData (contents);
131136
132137 if (attributes.empty ())
133138 {
0 commit comments