Physics4K  2013-06-04
Physics4K is the next great evolution in 2D physics engines. built upon the C++ Game Framework, it is going to take the next generation gaming world by storm.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
CollisionBoxBox.cpp File Reference
#include "Collision.h"

Enumerations

enum  Axis { FACE_A_X, FACE_A_Y, FACE_B_X, FACE_B_Y }
 

Functions

int ClipSegmentToLine (Vector2f vOut[2], Vector2f vIn[2], const Vector2f &normal, float offset)
 

Enumeration Type Documentation

enum Axis
Enumerator
FACE_A_X 
FACE_A_Y 
FACE_B_X 
FACE_B_Y 

Function Documentation

int ClipSegmentToLine ( Vector2f  vOut[2],
Vector2f  vIn[2],
const Vector2f normal,
float  offset 
)

Clip a line segment to a line