aboutsummaryrefslogtreecommitdiff
path: root/tools/lighthousefind_tori/tori_includes.h
diff options
context:
space:
mode:
authorCNLohr <charles@cnlohr.com>2017-02-16 00:04:32 -0500
committerGitHub <noreply@github.com>2017-02-16 00:04:32 -0500
commit5552609f553290d92ed4209b4ce4f9040598e2bb (patch)
tree4a8f6bf25d87ba0fbc0f6d913a7f5ea1c5926106 /tools/lighthousefind_tori/tori_includes.h
parent23a202f50fc0f9eb9127bebaf34c48d45776a25c (diff)
parent55a1f849d77d34f08a555e90120959b3ce9880ea (diff)
downloadlibsurvive-5552609f553290d92ed4209b4ce4f9040598e2bb.tar.gz
libsurvive-5552609f553290d92ed4209b4ce4f9040598e2bb.tar.bz2
Merge pull request #28 from mwturvey/optimize_gd
Optimize gradient descent
Diffstat (limited to 'tools/lighthousefind_tori/tori_includes.h')
-rw-r--r--tools/lighthousefind_tori/tori_includes.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/lighthousefind_tori/tori_includes.h b/tools/lighthousefind_tori/tori_includes.h
index 4cfbcdc..a2b9082 100644
--- a/tools/lighthousefind_tori/tori_includes.h
+++ b/tools/lighthousefind_tori/tori_includes.h
@@ -4,13 +4,15 @@
#include <stddef.h>
#include <math.h>
#include <stdint.h>
+#include "linmath.h"
+#define PointToFlts(x) ((FLT*)(x))
typedef struct
{
- double x;
- double y;
- double z;
+ FLT x;
+ FLT y;
+ FLT z;
} Point;
typedef struct