mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
Move enumerações para collision.hpp
This commit is contained in:
parent
6238a462c2
commit
5c72d95cfa
@ -73,6 +73,26 @@ namespace xna {
|
||||
listff det = listff(16, listf(4));
|
||||
};
|
||||
|
||||
//Describes the intersection between a plane and a bounding volume.
|
||||
enum class PlaneIntersectionType {
|
||||
//There is no intersection, and the bounding volume is in the positive half-space of the Plane.
|
||||
Front,
|
||||
//There is no intersection, and the bounding volume is in the negative half - space of the Plane.
|
||||
Back,
|
||||
//The Plane is intersected.
|
||||
Intersecting,
|
||||
};
|
||||
|
||||
//Indicates the extent to which bounding volumes intersect or contain one another.
|
||||
enum class ContainmentType {
|
||||
//Indicates there is no overlap between the bounding volumes.
|
||||
Disjoint,
|
||||
//Indicates that one bounding volume completely contains the other.
|
||||
Contains,
|
||||
//Indicates that the bounding volumes partially overlap.
|
||||
Intersects,
|
||||
};
|
||||
|
||||
//Defines a plane.
|
||||
struct Plane {
|
||||
//The normal vector of the Plane.
|
||||
|
@ -95,12 +95,6 @@ namespace xna {
|
||||
None
|
||||
};
|
||||
|
||||
enum class ContainmentType {
|
||||
Disjoint,
|
||||
Contains,
|
||||
Intersects,
|
||||
};
|
||||
|
||||
enum class ComparisonFunction {
|
||||
Never,
|
||||
Less,
|
||||
@ -189,12 +183,6 @@ namespace xna {
|
||||
HiDef
|
||||
};
|
||||
|
||||
enum class PlaneIntersectionType {
|
||||
Front,
|
||||
Back,
|
||||
Intersecting,
|
||||
};
|
||||
|
||||
enum class PlayerIndex
|
||||
{
|
||||
One,
|
||||
|
Loading…
x
Reference in New Issue
Block a user