diff options
author | Justin Berger <j.david.berger@gmail.com> | 2018-03-08 15:08:14 -0700 |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2018-03-08 15:10:09 -0700 |
commit | 5aa1b9214745a625ab644846ada3034e7c38f493 (patch) | |
tree | 0e8e499e474254dc6261beb2060d050d8c1f8d82 /include/libsurvive/survive_types.h | |
parent | 1a686a660c750499d3e1c4b46e3c506748147a08 (diff) | |
download | libsurvive-5aa1b9214745a625ab644846ada3034e7c38f493.tar.gz libsurvive-5aa1b9214745a625ab644846ada3034e7c38f493.tar.bz2 |
Added playback device driver
Diffstat (limited to 'include/libsurvive/survive_types.h')
-rw-r--r-- | include/libsurvive/survive_types.h | 6 |
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]; |