public bool GetColision(RotatableRectangle r) { Vector2[] myCoords = GetCorners(); Vector2[] otherCoords = r.GetCorners(); if (GetColision_Rough(myCoords, otherCoords)) { return(GetColision_Accurate(myCoords, otherCoords)); } return(false); }
public bool GetColision_Rough(RotatableRectangle r) { Vector2[] myCoords = GetCorners(); Vector2[] otherCoords = r.GetCorners(); return(GetColision_Rough(myCoords, otherCoords)); }