@@ -30,7 +30,7 @@ static void GetMeshData(const aiScene* scene,
30
30
{
31
31
Siege::SkinnedVertex vertex {};
32
32
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 };
34
34
35
35
aiVector3t<ai_real> vert = mesh->mVertices [i];
36
36
vertex.position = mat * Siege::Vec4 (vert.x , vert.y , vert.z , 1 .f );
@@ -100,7 +100,10 @@ static void GetMeshData(const aiScene* scene,
100
100
}
101
101
}
102
102
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)
104
107
{
105
108
currentPath = currentPath + node->mName .C_Str ();
106
109
CC_LOG_INFO (" Reading node at {}" , currentPath)
@@ -124,10 +127,12 @@ static aiMesh* FindMeshAtPath(const aiScene* scene, aiNode* node, const Siege::S
124
127
return nullptr ;
125
128
}
126
129
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)
128
132
{
129
133
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);
131
136
132
137
if (attributes.empty ())
133
138
{
0 commit comments