diff options
| author | Juan Linietsky | 2017-01-20 19:24:49 -0300 |
|---|---|---|
| committer | GitHub | 2017-01-20 19:24:49 -0300 |
| commit | ee0f53df52d88ca57079579f3f3e943e7e40f53a (patch) | |
| tree | fcf670f1e8aec411c6deaf97e9fc77bf5c195f31 /core/math/plane.h | |
| parent | 72a02555850016ab792cf498c5370983d3b72832 (diff) | |
| parent | 6f4f9aa6ded6da027c84cc466c767334dc3d3362 (diff) | |
| download | godot-ee0f53df52d88ca57079579f3f3e943e7e40f53a.tar.gz godot-ee0f53df52d88ca57079579f3f3e943e7e40f53a.tar.zst godot-ee0f53df52d88ca57079579f3f3e943e7e40f53a.zip | |
Diffstat (limited to 'core/math/plane.h')
| -rw-r--r-- | core/math/plane.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/plane.h b/core/math/plane.h index f746ea206..8235c5913 100644 --- a/core/math/plane.h +++ b/core/math/plane.h @@ -99,7 +99,7 @@ real_t Plane::distance_to(const Vector3 &p_point) const { bool Plane::has_point(const Vector3 &p_point,real_t _epsilon) const { - float dist=normal.dot(p_point) - d; + real_t dist=normal.dot(p_point) - d; dist=ABS(dist); return ( dist <= _epsilon); |
