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.
|
||||
|
@ -93,13 +93,7 @@ namespace xna {
|
||||
Alpha,
|
||||
All,
|
||||
None
|
||||
};
|
||||
|
||||
enum class ContainmentType {
|
||||
Disjoint,
|
||||
Contains,
|
||||
Intersects,
|
||||
};
|
||||
};
|
||||
|
||||
enum class ComparisonFunction {
|
||||
Never,
|
||||
@ -187,13 +181,7 @@ namespace xna {
|
||||
//Use the largest available set of graphic features and capabilities to target devices,
|
||||
//such as an Xbox 360 console and a Windows-based computer, that have more enhanced graphic capabilities.
|
||||
HiDef
|
||||
};
|
||||
|
||||
enum class PlaneIntersectionType {
|
||||
Front,
|
||||
Back,
|
||||
Intersecting,
|
||||
};
|
||||
};
|
||||
|
||||
enum class PlayerIndex
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user