laCollider Class Reference

Collision Detection and Response. More...

#include <laCollider.h>

Static Public Member Functions

static M_BOOL intersection (const laLine2 &lnMovement, const laLine2 &lnCollision, double *pDistance, laPoint2 *pIntersection)
static void response (const laPoint2 &position, const laPoint2 &vector, const laLine2 &lnCollisionCauser, laPoint2 *pModifiedVector)
static void collideLineWithDomain (const laLine2 &line, laCollisionScenario *pScenario, int nIterations=3, M_BOOL bResponse=M_FALSE)
static void collideLinesWithDomain (laLine2 *arLines, unsigned nCount, laCollisionScenario *pScenario, int nIterations=3, M_BOOL bResponse=M_TRUE)
static void collidePointWithDomain (laCollisionScenario *pScenario, int nIterations=2, M_BOOL bResponse=M_FALSE)
static void collidePointsWithDomain (laPoint2 *arPoint, unsigned nCount, laCollisionScenario *pScenario, int nIterations=2)

Detailed Description

Collision Detection and Response.

This class implement collision detection and collision repsonse for 2D dynamic points and lines with a list of 2D static lines.

Copyright (C) 2007-2013 Atanas Laskov, latan.nosp@m.as@g.nosp@m.mail..nosp@m.com

Definition at line 41 of file laCollider.h.

The documentation for this class was generated from the following files: