Skip to content

Commit

Permalink
Fix markups
Browse files Browse the repository at this point in the history
  • Loading branch information
yogwoggf committed Nov 9, 2024
1 parent 88e7564 commit 06f86c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions source/objects/Model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ Mesh::Mesh(
tri.tangents[j] = glm::normalize(glm::vec3(tri.e1[0], tri.e1[1], tri.e1[2]));
}

tri.uvs[j] = uvs[j];

if (vtxVerts[j]->numBones > 0) {
tri.numBones[j] = vtxVerts[j]->numBones;

Expand Down
2 changes: 1 addition & 1 deletion source/objects/Primitives.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ struct TriangleBackfaceCull
const int16_t material,
const glm::vec2 uvs[3],
const bool oneSided = false
) : p0(p0), e1(p0 - p1), e2(p2 - p0), material(material), uvs(), oneSided(oneSided)
) : p0(p0), e1(p0 - p1), e2(p2 - p0), material(material), oneSided(oneSided)
{
this->uvs[0] = uvs[0];
this->uvs[1] = uvs[1];
Expand Down

0 comments on commit 06f86c1

Please sign in to comment.