Commit d84669ba authored by Christian Winter's avatar Christian Winter

bufix. rounding caused small errors

parent 5d6c7fae
Pipeline #4807165 passed with stage
in 57 seconds
......@@ -48,8 +48,8 @@ class Utilities {
}
let center = new Vector2(
Math.round((max.x + min.x) * 0.5),
Math.round((max.y + min.y) * 0.5)
(max.x + min.x) * 0.5,
(max.y + min.y) * 0.5
);
return center;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment