diff --git a/src/gamelib/CMakeLists.txt b/src/gamelib/CMakeLists.txt
index ecd2670..9163fea 100644
--- a/src/gamelib/CMakeLists.txt
+++ b/src/gamelib/CMakeLists.txt
@@ -22,7 +22,6 @@ add_library(${PROJECT_NAME}
worldsizenotifiable.cpp
worlditems.cpp
moveable.cpp
- fsgn.cpp
grid_raytrace.cpp
)
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 14)
diff --git a/src/gamelib/fsgn.cpp b/src/gamelib/fsgn.cpp
deleted file mode 100644
index fb16340..0000000
--- a/src/gamelib/fsgn.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- Copyright 2016, 2017 Michele "King_DuckZ" Santullo
-
- This file is part of MyCurry.
-
- MyCurry is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- MyCurry is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with MyCurry. If not, see .
-*/
-
-#include "fsgn.hpp"
-#include
-
-namespace curry {
- //float fsgn (float parIn) {
- // if (parIn < 0.0f) return -1.0f;
- // if (parIn > 0.0f) return 1.0f;
- // return 0.0f;
- //}
-
- float fsgn (float parIn) {
- static_assert(sizeof(uint32_t) == sizeof(float), "Unexpected float size");
- union {
- uint32_t i;
- float f;
- } in, r;
-
- in.f = parIn;
- if ((in.i & 0x7FFFFFFF) == 0) {
- return 0.0f;
- }
- else {
- r.f = 1.0f;
- r.i |= in.i & 0x80000000;
- return r.f;
- }
- }
-} //namespace curry
diff --git a/src/gamelib/fsgn.hpp b/src/gamelib/fsgn.hpp
deleted file mode 100644
index 28f3f76..0000000
--- a/src/gamelib/fsgn.hpp
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- Copyright 2016, 2017 Michele "King_DuckZ" Santullo
-
- This file is part of MyCurry.
-
- MyCurry is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- MyCurry is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with MyCurry. If not, see .
-*/
-
-#pragma once
-
-namespace curry {
- float fsgn (float parIn);
-} //namespace curry
diff --git a/src/gamelib/grid_raytrace.cpp b/src/gamelib/grid_raytrace.cpp
index cb2615f..8273fde 100644
--- a/src/gamelib/grid_raytrace.cpp
+++ b/src/gamelib/grid_raytrace.cpp
@@ -20,7 +20,6 @@
#include "grid_raytrace.hpp"
#include "worldgrid.hpp"
#include "vectorwrapper/vectorops.hpp"
-#include "fsgn.hpp"
#include "tileproperty.hpp"
#include
#include