mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Init branch git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3492 bfdf4180-ca20-0410-9c96-a3a8aa849046
29 lines
269 B
C++
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;
|
|
}
|
|
|
|
|
|
|