Commit 4333cf13 authored by Pierre Kraemer's avatar Pierre Kraemer
Browse files

youhou obstacle.h !!

parent a92f10fd
#ifndef _OBSTACLE_H_
#define _OBSTACLE_H_
#include "env_map.h"
class Obstacle
{
public:
Obstacle(VEC3& point1, VEC3& point2, VEC3& prevPoint, VEC3& nextPoint) :
p1(point1), p2(point2), prevP(prevPoint), nextP(nextPoint)
{
p1[2] = 0 ;
p2[2] = 0 ;
prevP[2] = 0 ;
nextP[2] = 0 ;
}
VEC3 p1 ;
VEC3 p2 ;
VEC3 prevP ;
VEC3 nextP ;
};
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment