optimisation process

This commit is contained in:
2015-03-03 23:05:26 +06:00
parent 2dba66810e
commit c7b94d1bf6
8 changed files with 630 additions and 1122 deletions

View File

@@ -14,6 +14,13 @@ namespace IsoTools {
}
}
public static bool Vec3Approximately(Vector3 a, Vector3 b) {
return
Mathf.Approximately(a.x, b.x) &&
Mathf.Approximately(a.y, b.y) &&
Mathf.Approximately(a.z, b.z);
}
public static Vector3 Vec3Ceil(Vector3 v) {
return new Vector3(
Mathf.Ceil(v.x),