Linderdaum Engine: Collision.h File Reference
Updated: Mon May 14 2012 05:02:25
Collision.h File Reference

Basic collision detection. More...

#include "Math/LSphere.h"
#include "Math/LPlane.h"
#include "Math/LBox.h"
#include <algorithm>

Classes

struct  Linderdaum::Math::sCollisionInfo
 Detailed information about collision. More...

Namespaces

namespace  Linderdaum
 

Generic namespace for Linderdaum Engine.


namespace  Linderdaum::Math
 

Linderdaum Math Library.


Functions

bool Linderdaum::Math::Collision_CircleToCircle (const LCircle &S1, const LCircle &S2, LVector2 *ISect, LVector2 *Normal, float *Depth)
 Calculate collision point for 2D Circle-Circle intersection.
bool Linderdaum::Math::Collision_SphereToPlane (const LSphere &S, const LPlane &P, LVector3 *ISect, LVector3 *Normal, float *Depth)
bool Linderdaum::Math::Collision_SphereToSphere (const LSphere &S1, const LSphere &S2, LVector3 *ISect, LVector3 *Normal, float *Depth)
 Calculate sphere-to-plane intersection point giving contact normal and penetration depth.
bool Linderdaum::Math::Collision_SphereToBox (const LSphere &Sphere, const LBox &Box, sCollisionInfo *Info)
 Calculate collision points for the Box-To-Sphere intersection.
bool Linderdaum::Math::Collision_BoxToBox (const LBox &ABox, const LBox &BBox, Linderdaum::Math::sCollisionInfo *Info)
 Calculate collision points for the Box-To-Box intersection.
bool Linderdaum::Math::Collision_BoxToPlane (const LBox &B, const LPlane &P, sCollisionInfo *Info)

Detailed Description

Basic collision detection.

Version:
0.5.93
Date:
09/10/2010
Author:
Viktor Latypov, 2010
Sergey Kosarevsky, 2010
support@linderdaum.com http://www.linderdaum.com