Fix T40620: BGE Python - Ray sensor has wrong axis constants
This commit is contained in:
parent
a21caf32cc
commit
8f30414c29
|
@ -83,13 +83,14 @@ public:
|
|||
}
|
||||
|
||||
//Python Interface
|
||||
// odd order, see: SENS_RAY_X_AXIS
|
||||
enum RayAxis {
|
||||
KX_RAY_AXIS_POS_X = 0,
|
||||
KX_RAY_AXIS_POS_Y,
|
||||
KX_RAY_AXIS_POS_Z,
|
||||
KX_RAY_AXIS_NEG_X,
|
||||
KX_RAY_AXIS_NEG_Y,
|
||||
KX_RAY_AXIS_NEG_Z
|
||||
KX_RAY_AXIS_POS_X = 1,
|
||||
KX_RAY_AXIS_POS_Y = 0,
|
||||
KX_RAY_AXIS_POS_Z = 2,
|
||||
KX_RAY_AXIS_NEG_X = 3,
|
||||
KX_RAY_AXIS_NEG_Y = 4,
|
||||
KX_RAY_AXIS_NEG_Z = 5,
|
||||
};
|
||||
|
||||
#ifdef WITH_PYTHON
|
||||
|
|
Loading…
Reference in New Issue