Files
qelectrotech-source-mirror/sources/qetgraphicsitem/waypoint.cpp
runsys 02df8a5073 Download patch
Init branch

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3492 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-16 20:27:11 +00:00

29 lines
269 B
C++

/*
* waypoint.cpp
*
* Created on: 6 nov. 2014
* Author: rene
*/
#include "waypoint.h"
Waypoint::Waypoint( vec2d o, vec2d d) {
orig = o;
dest = d;
vDir = vec2d( orig, dest );
vNor = vDir.vnormalize();
nexttLeft = NULL;
nexttRight = NULL;
}