1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Tom Lint 3a960b5829 Updated comments
Added some new Type infos
Removed excess whitespace
Added some new files
Implemented missing methods
2013-08-13 20:04:25 +02:00

101 lines
2.3 KiB
C++

/*****************************************************************************
* Enums.h *
* *
* XFX enumeration definition file *
* Copyright (c) XFX Team. All Rights Reserved *
*****************************************************************************/
#ifndef _XFX_ENUMS_
#define _XFX_ENUMS_
namespace XFX
{
// Describes how one bounding volume contains another.
struct ContainmentType
{
enum type
{
Contains,
Disjoint,
Intersects
};
};
// Defines the continuity of CurveKeys on a Curve.
struct CurveContinuity
{
enum type
{
Smooth,
Step
};
};
// Defines how the value of a Curve will be determined for positions before the first point on the Curve or after the last point on the Curve.
struct CurveLoopType
{
enum type
{
Constant,
Cycle,
CycleOffset,
Linear,
Oscillate
};
};
// Specifies different tangent types to be calculated for CurveKey points in a Curve.
struct CurveTangent
{
enum type
{
Flat,
Linear,
Smooth
};
};
// Describes the intersection between a plane and a bounding volume.
struct PlaneIntersectionType
{
enum type
{
Back,
Front,
Intersecting
};
};
// Specifies the index of a player.
struct PlayerIndex
{
enum type
{
One,
Two,
Three,
Four
};
};
// Defines the target platform to be used when compiling content.
struct TargetPlatform
{
enum type
{
Unknown,
Linux,
XBOX
};
};
typedef ContainmentType::type ContainmentType_t; // Describes how one bounding volume contains another.
typedef CurveContinuity::type CurveContinuity_t; // Defines the continuity of CurveKeys on a Curve.
typedef CurveLoopType::type CurveLoopType_t; // Defines how the value of a Curve will be determined for positions before the first point on the Curve or after the last point on the Curve.
typedef CurveTangent::type CurveTangent_t; // Specifies different tangent types to be calculated for CurveKey points in a Curve.
typedef PlaneIntersectionType::type PlaneIntersectionType_t; // Describes the intersection between a plane and a bounding volume.
typedef PlayerIndex::type PlayerIndex_t; // Specifies the index of a player.
typedef TargetPlatform::type TargetPlatform_t; // Defines the target platform to be used when compiling content.
}
#endif //_ENUMS_