public Vector3 SnapRotation(Vector3 input) { if (!this.ShouldRotateSnap) { return input; } return input.SetXYZ(this.Round(input.x, this.SnapRotateValue), this.Round(input.y, this.SnapRotateValue), this.Round(input.z, this.SnapRotateValue)); }
public Vector3 SnapToValues(Vector3 input) { if (!this.ShouldSnap) { return input; } return input.SetXYZ(this.Round(input.x, this.SnapValueX), this.Round(input.y, this.SnapValueY), this.Round(input.z, this.SnapValueZ)); }