Pyrogenesis  trunk
Functions
Geometry.cpp File Reference
#include "precompiled.h"
#include "Geometry.h"
Include dependency graph for Geometry.cpp:

Functions

static bool SquareSAT (const CFixedVector2D &a, const CFixedVector2D &axis, const CFixedVector2D &u, const CFixedVector2D &v, const CFixedVector2D &halfSize)
 Separating axis test; returns true if the square defined by u/v/halfSize at the origin is not entirely on the clockwise side of a line in direction 'axis' passing through 'a'. More...
 

Function Documentation

static bool SquareSAT ( const CFixedVector2D a,
const CFixedVector2D axis,
const CFixedVector2D u,
const CFixedVector2D v,
const CFixedVector2D halfSize 
)
static

Separating axis test; returns true if the square defined by u/v/halfSize at the origin is not entirely on the clockwise side of a line in direction 'axis' passing through 'a'.