Making changes to Vector3 related stuff.

This commit is contained in:
Brian 2014-02-20 21:15:54 -07:00
parent 4fd8dfb9f1
commit ce04edb8cb
4 changed files with 65 additions and 7 deletions

View file

@ -12,4 +12,24 @@
typedef float Scalar;
// May not need this, so may be removed.
struct CoordinateSystem
{
struct Types
{
enum Enum
{
RightHandedZUp, // x-right, y-forward, z-up
RightHandedYUp, // x-right, y-up, z-backwards
LeftHandedZUp, // x-left y-forward, z-up
LeftHandedYUp // x-right, y-up, z-backwards
};
};
// set this to whichever you like
static const Types::Enum Type = Types::RightHandedZUp;
// If I want to provide helpers for up/down/left/right/forward/backwards vectors, then you'll need to know the coordinate system type^
};
#endif