commit e0879a3040e5fa6fc7f5476cef5cee842c05a74c parent 56fbdc0c594402915c52f3cfb428f5bd656c28ca Author: Michael Savage <mikejsavage@gmail.com> Date: Wed Aug 26 22:23:03 +0200 +const -& Diffstat:
bsp.cc | | | 2 | +- |
diff --git a/bsp.cc b/bsp.cc @@ -45,7 +45,7 @@ bool same_sign( const float a, const float b ) { return a * b >= 0; } -float point_plane_distance( const glm::vec3 & point, const glm::vec3 & normal, float d ) { +float point_plane_distance( const glm::vec3 point, const glm::vec3 normal, const float d ) { return glm::dot( point, normal ) - d; }