X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgeometry%2Fsurfacepoint.h;h=a5bd794f90052bc96fcc307dfdb67b74244707c8;hb=c135ff2480f4e2aaf05b0206631bb0e1b5d73fad;hp=3513ac8e41bf82e1a02e3250ccdfaebb57932576;hpb=9260eee3126731c1e6b54ce3407be757d0d71716;p=libs%2Fmath.git diff --git a/source/geometry/surfacepoint.h b/source/geometry/surfacepoint.h index 3513ac8..a5bd794 100644 --- a/source/geometry/surfacepoint.h +++ b/source/geometry/surfacepoint.h @@ -6,11 +6,15 @@ namespace Msp { namespace Geometry { +/** +A point on the surface of a shape. +*/ template struct SurfacePoint { LinAl::Vector position; LinAl::Vector normal; + T distance; }; } // namespace Geometry