WIP
This commit is contained in:
@@ -19,6 +19,7 @@ func RectRectIntersection(r1 AABB2d, r2 AABB2d) bool {
|
||||
r1.A.Y < r2.B.Y && r1.B.Y > r2.A.Y)
|
||||
}
|
||||
|
||||
// returns collision, inside, point of collision
|
||||
func RectIntersection(r AABB2d, p Point2d, v Vector2d) (bool, bool, Point2d) {
|
||||
collision := false
|
||||
inside := false
|
||||
|
||||
Reference in New Issue
Block a user