Skip to content

Commit

Permalink
compat: Add MatrixAxisType_t definition
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad committed Aug 15, 2024
1 parent 100d2e3 commit 8afe4c9
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions vphysics_jolt/compat/compat_asw.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@

#include "memalloc.h"

enum MatrixAxisType_t
{
#ifdef YUP_ACTIVE
FORWARD_AXIS = 2,
LEFT_AXIS = 0,
UP_AXIS = 1,
#else
FORWARD_AXIS = 0,
LEFT_AXIS = 1,
UP_AXIS = 2,
#endif

X_AXIS = 0,
Y_AXIS = 1,
Z_AXIS = 2,
ORIGIN = 3,
PROJECTIVE = 3,
};

#define DevAssert( ... )
#define DevAssertMsg( ... )
#define AssertMsg_Internal( ... )
Expand Down
19 changes: 19 additions & 0 deletions vphysics_jolt/compat/compat_sdk2013.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@

#include "Color.h"

enum MatrixAxisType_t
{
#ifdef YUP_ACTIVE
FORWARD_AXIS = 2,
LEFT_AXIS = 0,
UP_AXIS = 1,
#else
FORWARD_AXIS = 0,
LEFT_AXIS = 1,
UP_AXIS = 2,
#endif

X_AXIS = 0,
Y_AXIS = 1,
Z_AXIS = 2,
ORIGIN = 3,
PROJECTIVE = 3,
};

enum LoggingSeverity_t
{
LS_MESSAGE = 0,
Expand Down

0 comments on commit 8afe4c9

Please sign in to comment.