aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCNLohr <charles@cnlohr.com>2018-03-10 18:07:28 -0500
committerGitHub <noreply@github.com>2018-03-10 18:07:28 -0500
commitc96eba564989b1f5956c2b6c0f38e72195a9fd58 (patch)
treea6571ee864bf274e89f360877520ba591d9410ea /include
parent33eb803fe6b5eb2fc2e02e673e6e641e72592c94 (diff)
parentfe88ef57cff4971664b252cb9def6a5ddcc4276d (diff)
downloadlibsurvive-c96eba564989b1f5956c2b6c0f38e72195a9fd58.tar.gz
libsurvive-c96eba564989b1f5956c2b6c0f38e72195a9fd58.tar.bz2
Merge pull request #104 from jdavidberger/playback_driver
Playback driver
Diffstat (limited to 'include')
-rw-r--r--include/libsurvive/survive_types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libsurvive/survive_types.h b/include/libsurvive/survive_types.h
index 5384345..be1115b 100644
--- a/include/libsurvive/survive_types.h
+++ b/include/libsurvive/survive_types.h
@@ -14,6 +14,12 @@ extern "C" {
#endif
#endif
+#define float_format "%f"
+#define double_format "%lf"
+#define _FLT_format2(f) f##_format
+#define _FLT_format(f) _FLT_format2(f)
+#define FLT_format _FLT_format(FLT)
+
typedef struct SurvivePose
{
FLT Pos[3];