source: GTP/trunk/App/Games/Jungle_Rumble/src/Plane.h @ 1378

Revision 1378, 415 bytes checked in by giegl, 18 years ago (diff)

GTPD - Jungle Rumble - integrate into GTP SVN structure

Line 
1#pragma once
2#include "Vector.h"
3
4class Plane
5{
6public:
7        Plane(void);
8        ~Plane(void);
9       
10        void setPoint(Vector p);
11        void setPoint(float _x, float _y, float _z);
12        Vector getPoint();
13
14        void setNormal(Vector &n);
15        void setNormal(float _nx, float _ny, float _nz);
16        Vector getNormal();
17
18        bool inFront(Vector p);
19        bool inFront(float x, float y, float z);
20
21private:
22        Vector point;
23        Vector normal;
24};
Note: See TracBrowser for help on using the repository browser.