From 6c56267423a403c5da23380e9d6f23e8926ffb46 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Thu, 7 Mar 2019 19:14:01 -0500 Subject: Move math functions into a separate library --- src/curve.h | 4 ++-- src/main.cpp | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/curve.h b/src/curve.h index 5f11351..891a6af 100644 --- a/src/curve.h +++ b/src/curve.h @@ -3,8 +3,8 @@ #include #include -#include "vec3.h" -#include "quat.h" +#include +using namespace fml; /* All curves inherit this class */ class Curve { diff --git a/src/main.cpp b/src/main.cpp index 26ed520..9b67ffd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -12,9 +12,10 @@ #include "gnuplot_i.hpp" -#include "vec3.h" #include "curve.h" +#include +using namespace fml; using namespace std; /* A current or charge distribution */ -- cgit v1.1