mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
Download patch
Init branch git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3492 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
28
sources/qetgraphicsitem/waypoint.cpp
Normal file
28
sources/qetgraphicsitem/waypoint.cpp
Normal file
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* 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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user