-[NEW] Nemesio acabat

This commit is contained in:
2026-03-22 09:51:41 +01:00
parent c4da64aa1f
commit c02c086af3
4 changed files with 37 additions and 11 deletions

View File

@@ -34,3 +34,11 @@ function util.normalize(v)
end
return {x = v.x / magnitud, y = v.y / magnitud}
end
function math.sign(value)
if value > 0 then
return 1
else
return -1
end
end