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
@@ -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