Move mjtByte definition from mjmodel.h to mjtnum.h.
PiperOrigin-RevId: 516193927 Change-Id: Idbba21119ef2f7da3ab6f6f21611a757658aad23
This commit is contained in:
committed by
Copybara-Service
parent
b4d29abfc1
commit
c16d4d0d25
@@ -40,10 +40,7 @@
|
||||
#define mjNSOLVER 1000 // size of mjData.solver_XXX arrays
|
||||
|
||||
|
||||
//---------------------------------- primitive types (mjt) -----------------------------------------
|
||||
|
||||
typedef unsigned char mjtByte; // used for true/false
|
||||
|
||||
//---------------------------------- enum types (mjt) ----------------------------------------------
|
||||
|
||||
typedef enum mjtDisableBit_ { // disable default feature bitflags
|
||||
mjDSBL_CONSTRAINT = 1<<0, // entire constraint solver
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#ifndef MUJOCO_INCLUDE_MJTNUM_H_
|
||||
#define MUJOCO_INCLUDE_MJTNUM_H_
|
||||
|
||||
//---------------------------------- floating-point definitions ------------------------------------
|
||||
//---------------------------------- floating-point definition -------------------------------------
|
||||
|
||||
// compile-time configuration options
|
||||
#define mjUSEDOUBLE // single or double precision for mjtNum
|
||||
@@ -31,4 +31,11 @@
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
//-------------------------------------- byte definition -------------------------------------------
|
||||
|
||||
typedef unsigned char mjtByte; // used for true/false
|
||||
|
||||
|
||||
|
||||
#endif // MUJOCO_INCLUDE_MJTNUM_H_
|
||||
|
||||
Reference in New Issue
Block a user