summaryrefslogtreecommitdiff
path: root/lib/geometricPlane.h
blob: 96816f275564dad9f42dd72e10fefbf528fb28f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include <glm/vec3.hpp>

class GeometricPlane {
public:
	enum class PlaneRelation { Above, Below, On };

	glm::vec3 origin, normal;

	PlaneRelation getRelation(glm::vec3 point) const;
};