geom/plane: use 'd' contribution for distance
This commit is contained in:
parent
aab066593b
commit
f3f26fca64
@ -81,7 +81,7 @@ namespace util::geom {
|
|||||||
{
|
{
|
||||||
auto d = dot (
|
auto d = dot (
|
||||||
p.coefficients,
|
p.coefficients,
|
||||||
q.template redim<S+1> (0)
|
q.template redim<S+1> (-1)
|
||||||
);
|
);
|
||||||
|
|
||||||
return d / norm (normal (p));
|
return d / norm (normal (p));
|
||||||
|
Loading…
Reference in New Issue
Block a user