From fb4b8328bfa5a8930b87ec8b7465b8032f4873c5 Mon Sep 17 00:00:00 2001 From: Martin Miller Date: Tue, 28 Mar 2017 10:06:47 -0500 Subject: move aboveWater () back to main --- src/types.cpp | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 src/types.cpp (limited to 'src/types.cpp') diff --git a/src/types.cpp b/src/types.cpp deleted file mode 100644 index 151fd63..0000000 --- a/src/types.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/* - * ===================================================================================== - * - * Filename: types.cpp - * - * Description: - * - * Version: 1.0 - * Created: 03/27/2017 03:26:51 PM - * Revision: none - * Compiler: gcc - * - * Author: Martin Miller (MHM), miller7@illinois.edu - * Organization: Aerospace Robotics and Controls Lab (ARC) - * - * ===================================================================================== - */ - - -#include "types.h" - -double -aboveWater(const Quaterniond &q) -{ - Vector3d tip; - tip << 0.65*3.43, 0, -0.60; - tip = q._transformVector(tip); - return tip[2]; -} -- cgit v1.1