mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-16 14:09:00 +07:00
optimisation process
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user