Colliding Shapes
Ian Parberry's "Introduction to Game Physics"
Classes | Enumerations
Shape.h File Reference

Interface for CShapeDesc and CShape. More...

#include "AABB.h"
#include "ShapeMath.h"
#include "ShapeCommon.h"

Classes

class  CShapeDesc
 Shape Descriptor. More...
 
class  CShape
 Shape. More...
 

Enumerations

enum  eShape {
  Unknown, Point, Line, LineSeg,
  Circle, Arc
}
 Shape type.
 
enum  eMotion { Static, Kinematic, Dynamic, Size }
 Shape motion type. More...
 

Enumeration Type Documentation

◆ eMotion

enum eMotion
strong

Shape motion can be either static, kinematic, or dynamic. Static shapes don't move, they collide with only dynamic shapes, and they are unaffected by collisions. Kinematic shapes move, they collide with only dynamic shapes, and they are unaffected by collisions. Dynamic shapes move, they collide with shapes of all three motion types, and they are affected by collisions.