]> git.tdb.fi Git - libs/math.git/blob - source/geometry/surfacepoint.h
Add basic description for all classes
[libs/math.git] / source / geometry / surfacepoint.h
1 #ifndef MSP_GEOMETRY_SURFACEPOINT_H_
2 #define MSP_GEOMETRY_SURFACEPOINT_H_
3
4 #include <msp/linal/vector.h>
5
6 namespace Msp {
7 namespace Geometry {
8
9 /**
10 A point on the surface of a shape.
11 */
12 template<typename T, unsigned N>
13 struct SurfacePoint
14 {
15         LinAl::Vector<T, N> position;
16         LinAl::Vector<T, N> normal;
17 };
18
19 } // namespace Geometry
20 } // namespace Msp
21
22 #endif