Fixed an error with the last commit.

This commit is contained in:
Leon Styhre 2023-02-10 00:51:03 +01:00
parent c1044c0b3c
commit 3caba10582

View file

@ -296,7 +296,6 @@ void ComponentList::render(const glm::mat4& parentTrans)
// Clip everything to be inside our bounds. // Clip everything to be inside our bounds.
glm::vec3 dim {mSize.x, mSize.y - roundErrorComp, 0.0f}; glm::vec3 dim {mSize.x, mSize.y - roundErrorComp, 0.0f};
glm::vec3 dim {mSize.x, mSize.y, 0.0f};
dim.x = (trans[0].x * dim.x + trans[3].x) - trans[3].x; dim.x = (trans[0].x * dim.x + trans[3].x) - trans[3].x;
dim.y = (trans[1].y * dim.y + trans[3].y) - trans[3].y; dim.y = (trans[1].y * dim.y + trans[3].y) - trans[3].y;