Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
CollisionResponse.h
Go to the documentation of this file.
1
#ifndef ULT_PHYSICS_COLLISION_RESPONSE_H_INCLUDED
2
#define ULT_PHYSICS_COLLISION_RESPONSE_H_INCLUDED
3
4
#include "
../Math/Frustum.h
"
5
#include "
../Math/Plane.h
"
6
#include "
PointMass.h
"
7
8
namespace
Ult
9
{
10
14
19
class
CollisionResponse
20
{
21
public
:
25
CollisionResponse
() {}
29
~CollisionResponse
() {}
30
34
bool
ResponseToCollision
(
35
PointMass
* p1,
float
radius1,
36
PointMass
* p2,
float
radius2,
37
float
e
38
);
39
43
bool
ResponseToCollision
(
44
PointMass
* p1,
float
radius1,
45
const
Frustum
& frustum,
46
float
e
47
);
48
52
bool
ResponseToCollision
(
53
PointMass
* p1,
float
radius1,
54
const
Plane
& plane,
55
float
e
56
);
57
};
58
59
}
// namespace Ult
60
61
#endif
// ULT_PHYSICS_COLLISION_RESPONSE_H_INCLUDED
62
Frustum.h
Plane.h
PointMass.h
Ult::CollisionResponse::ResponseToCollision
bool ResponseToCollision(PointMass *p1, float radius1, PointMass *p2, float radius2, float e)
Definition
CollisionResponse.cpp:9
Ult::CollisionResponse::CollisionResponse
CollisionResponse()
Definition
CollisionResponse.h:25
Ult::CollisionResponse::~CollisionResponse
~CollisionResponse()
Definition
CollisionResponse.h:29
Ult::Frustum
Definition
Frustum.h:18
Ult::Plane
Definition
Plane.h:27
Ult::PointMass
Definition
PointMass.h:14
Ult
Definition
Archive.h:13
include
Ult
Physics
CollisionResponse.h
Generated by
1.13.0