|
bool | Collision::rectRectIntersect (Vec2 posBoxA, Vec2 dimBoxA, Vec2 posBoxB, Vec2 dimBoxB) |
| Checks to see if two rectangles intersect. More...
|
|
bool | Collision::cubeCubeIntersect (Vec3 posBoxA, Vec3 dimBoxA, Vec3 posBoxB, Vec3 dimBoxB) |
| Checks to see if two cubes intersect (position is the center of the cube) More...
|
|
bool | Collision::cubeCubeIntersect (Vec3 posBoxA, Vec3 dimBoxA, Vec3 posBoxB, Vec3 dimBoxB, Vec3 &collisionSides) |
| Checks to see if two cubes intersect (position is the center of the cube) More...
|
|
bool | Collision::sphereCubeIntersect (Vec3 posBox, Vec3 dimBox, Vec3 posSphere, float radSphere) |
| Checks to see if a cube and sphere intersects (position is the center of the cube) More...
|
|
bool | Collision::sphereCubeIntersect (Vec3 posBox, Vec3 dimBox, Vec3 posSphere, float radSphere, Vec3 &collisionSides) |
| Checks to see if a cube and sphere intersects (position is the center of the cube) More...
|
|
bool | Collision::circleCircleIntersect (Vec2 circle1Pos, Vec2 circle2Pos, float circle1Rad, float circle2Rad) |
| Takes in two circle positions, radius's to detect if the circles collide. More...
|
|
bool | Collision::sphereSphereIntersect (Vec3 sphere1Pos, Vec3 sphere2Pos, float sphere1Rad, float sphere2Rad) |
| Takes in two sphere positions and radius's and uses this to detect if the sphere's collide. More...
|
|
bool | Collision::sphereSphereIntersect (Vec3 sphere1Pos, Vec3 sphere2Pos, float sphere1Rad, float sphere2Rad, Vec3 &vel1, Vec3 &vel2) |
| Takes in two sphere positions and radius's and uses this to detect if the sphere's collide. More...
|
|
bool | Collision::circleRectIntersect (Vec2 circlePos, Vec2 boxPos, float circleRad, Vec2 boxDim) |
| Takes in a circle position and radius and a box position and dimensions to detect for collision. More...
|
|