Fix white space issues.

This commit is contained in:
Henrik Halen 2019-06-26 16:32:42 -07:00
parent 530a40d0e1
commit ef35253c82
2 changed files with 3 additions and 4 deletions

View File

@ -660,10 +660,10 @@ void RawModel::CreateMaterialModels(
vertex.uv1 = defaultVertex.uv1; vertex.uv1 = defaultVertex.uv1;
} }
if ((keep & RAW_VERTEX_ATTRIBUTE_JOINT_INDICES) == 0) { if ((keep & RAW_VERTEX_ATTRIBUTE_JOINT_INDICES) == 0) {
vertex.jointIndices = defaultVertex.jointIndices; vertex.jointIndices = defaultVertex.jointIndices;
} }
if ((keep & RAW_VERTEX_ATTRIBUTE_JOINT_WEIGHTS) == 0) { if ((keep & RAW_VERTEX_ATTRIBUTE_JOINT_WEIGHTS) == 0) {
vertex.jointWeights = defaultVertex.jointWeights; vertex.jointWeights = defaultVertex.jointWeights;
} }
} }

View File

@ -61,7 +61,6 @@ struct RawVertex {
std::vector<Vec4i> jointIndices; std::vector<Vec4i> jointIndices;
std::vector<Vec4f> jointWeights; std::vector<Vec4f> jointWeights;
std::vector<RawVertexSkinningInfo> skinningInfo; std::vector<RawVertexSkinningInfo> skinningInfo;
// end of members that directly correspond to vertex attributes // end of members that directly correspond to vertex attributes