From 5a0b3927a33807cca4c77c40eb873f8a3b51b0b0 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 29 Apr 2023 19:07:11 +0100 Subject: Drop .hpp for header only things Half of them acquired a .cpp part anyway --- lib/ray.hpp | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 lib/ray.hpp (limited to 'lib/ray.hpp') diff --git a/lib/ray.hpp b/lib/ray.hpp deleted file mode 100644 index 9bf47af..0000000 --- a/lib/ray.hpp +++ /dev/null @@ -1,17 +0,0 @@ -#pragma once - -#include -#include - -class Ray { -public: - Ray(glm::vec3 start, glm::vec3 direction) : start {start}, direction {direction} { } - - static Ray fromPoints(glm::vec3, glm::vec3); - - glm::vec3 start; - glm::vec3 direction; - - float distanceToLine(const glm::vec3 & a, const glm::vec3 & b) const; - bool passesCloseToEdges(const std::span positions, float distance) const; -}; -- cgit v1.2.3