]> git.tdb.fi Git - libs/math.git/blobdiff - source/geometry/surfacepoint.h
Add more collision check functions for shapes
[libs/math.git] / source / geometry / surfacepoint.h
diff --git a/source/geometry/surfacepoint.h b/source/geometry/surfacepoint.h
new file mode 100644 (file)
index 0000000..3513ac8
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef MSP_GEOMETRY_SURFACEPOINT_H_
+#define MSP_GEOMETRY_SURFACEPOINT_H_
+
+#include <msp/linal/vector.h>
+
+namespace Msp {
+namespace Geometry {
+
+template<typename T, unsigned N>
+struct SurfacePoint
+{
+       LinAl::Vector<T, N> position;
+       LinAl::Vector<T, N> normal;
+};
+
+} // namespace Geometry
+} // namespace Msp
+
+#endif