diff options
author | KT <tran0563@umn.edu> | 2021-09-06 19:07:33 -0500 |
---|---|---|
committer | KT <tran0563@umn.edu> | 2021-09-06 19:07:33 -0500 |
commit | cccd3186305915d92b1751dc616979d64116a4aa (patch) | |
tree | 5dd4834daef547cd45fc0b643f44a10b581de0ad /dev/a4-dance/amc_util.h | |
parent | Added missing images for the A6 worksheet (diff) | |
download | csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.gz csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.bz2 csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.lz csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.xz csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.zst csci4611-cccd3186305915d92b1751dc616979d64116a4aa.zip |
Upload a1
Diffstat (limited to 'dev/a4-dance/amc_util.h')
-rw-r--r-- | dev/a4-dance/amc_util.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/dev/a4-dance/amc_util.h b/dev/a4-dance/amc_util.h deleted file mode 100644 index 5593a3b..0000000 --- a/dev/a4-dance/amc_util.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef AMC_UTIL_H_ -#define AMC_UTIL_H_ - -#include <mingfx.h> - - -// Converts amc mocap units to meters - -inline Point3 amc2meter(Point3 p) { - return Point3(p[0] * 0.056444f, p[1] * 0.056444f, p[2] * 0.056444f); -} - -template <typename T> -T amc2meter(T t) { - return t * 0.056444f; -} - - -#endif |