Move get distance util to shared

This commit is contained in:
Vortrex
2020-12-29 00:22:38 -06:00
parent a8bac5aede
commit eeff21929c

View File

@@ -99,4 +99,10 @@ function doesEntityDataExist(entity, dataName) {
return null;
}
// ---------------------------------------------------------------------------
function getDistance(vec1, vec2) {
return vec1.distance(vec2);
}
// ---------------------------------------------------------------------------