fix wrong entity display position on slow movement

This commit is contained in:
MihailRis
2024-07-20 21:56:19 +03:00
parent 826579df2b
commit c63e19e87b
2 changed files with 7 additions and 2 deletions
+2
View File
@@ -32,6 +32,8 @@ void Transform::refresh() {
combined = glm::translate(combined, pos);
combined = glm::scale(combined, size);
combined = combined * glm::mat4(rot);
displayPos = pos;
displaySize = size;
dirty = false;
}