World of Rigid Bodies (WoRB)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
CollisionDetection.cpp File Reference

Implementation of the collision detection system. More...

#include "WoRB.h"
#include <algorithm>
Include dependency graph for CollisionDetection.cpp:

Go to the source code of this file.

Defines

#define Quit_If_No_Overlaps(axis, indexA, indexB)

Detailed Description

Implementation of the collision detection system.

Author:
Mikica Kocic
Version:
0.18
Date:
2012-05-18

Definition in file CollisionDetection.cpp.


Define Documentation

#define Quit_If_No_Overlaps (   axis,
  indexA,
  indexB 
)
Value:
if ( ! CheckOverlapOnAxis( B, (axis), displacement, penetration, \
            (indexA), (indexB), axisIndex_A, axisIndex_B ) ) { \
        return 0; \
    }

Referenced by WoRB::Cuboid::Check().