]> git.tdb.fi Git - libs/math.git/blobdiff - source/geometry/surfacepoint.h
Record distance in SurfacePoint
[libs/math.git] / source / geometry / surfacepoint.h
index 251964cef854d91469f6ed9c10280534d3519535..a5bd794f90052bc96fcc307dfdb67b74244707c8 100644 (file)
@@ -14,6 +14,7 @@ struct SurfacePoint
 {
        LinAl::Vector<T, N> position;
        LinAl::Vector<T, N> normal;
+       T distance;
 };
 
 } // namespace Geometry