mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-27 05:50: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:
33
sources/qetgraphicsitem/waypoint.h
Normal file
33
sources/qetgraphicsitem/waypoint.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* 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_ */
|
||||
Reference in New Issue
Block a user