mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Init branch git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3492 bfdf4180-ca20-0410-9c96-a3a8aa849046
34 lines
403 B
C++
34 lines
403 B
C++
/*
|
|
* waypoint.h
|
|
*
|
|
* Created on: 6 nov. 2014
|
|
* Author: rene
|
|
*/
|
|
|
|
#ifndef WAYPOINT_H_
|
|
#define WAYPOINT_H_
|
|
|
|
#include "Mathlib.h"
|
|
|
|
class Waypoint;
|
|
|
|
|
|
class Waypoint {
|
|
public:
|
|
Waypoint(vec2d, vec2d);
|
|
~Waypoint();
|
|
|
|
private:
|
|
vec2d next;
|
|
|
|
vec2d orig;
|
|
vec2d dest;
|
|
vec2d vDir;
|
|
vec2d vNor;
|
|
|
|
Waypoint* nexttLeft;
|
|
Waypoint* nexttRight;
|
|
};
|
|
|
|
#endif /* WAYPOINT_H_ */
|