diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-02 00:55:43 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-02 00:55:43 +0100 |
commit | 1045767e8d7703e5c1cf0bcc316d45fe953afb14 (patch) | |
tree | cb42d3d81418823998bcb1641737fe6170bf113c /geom.hpp | |
parent | 2a0f0f2fcde7ee267e1cfb01938bfd6a8f6e5095 (diff) | |
download | Robotique-Projet-1045767e8d7703e5c1cf0bcc316d45fe953afb14.tar.gz Robotique-Projet-1045767e8d7703e5c1cf0bcc316d45fe953afb14.zip |
Real fix.
Diffstat (limited to 'geom.hpp')
-rw-r--r-- | geom.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ struct line { vec d = p2 - p1; a = d.y ; b = -d.x ; - c = - (p1.x * a + p2.x * b); + c = - (p1.x * a + p1.y * b); } bool on_line(vec p) const { |