March 2017
Intermediate to advanced
480 pages
11h 3m
English
Testing if a point intersects an oriented rectangle involves moving the point into the local space of the oriented rectangle. Once in the oriented rectangle's local space, we treated the oriented rectangle as a non-oriented rectangle. Testing for intersection between a circle and an oriented rectangle works the same way. We move both the circle and oriented rectangle into the rectangle's local space, then perform a circle rectangle intersection test:

We are going to implement a test to see if a circle and oriented rectangle are intersecting. For the sake of convenience, we are also creating a #define macro ...
Read now
Unlock full access