Krig Game Engine
src
Plane.h
Go to the documentation of this file.
1
7
#ifndef _PLANE_H_
8
#define _PLANE_H_
9
10
#include "Matrix.h"
11
#include "
Vector.h
"
12
13
class
Plane
{
14
public
:
15
Plane
();
16
~
Plane
();
17
18
void
setPlane(
const
float
&,
const
float
&,
const
float
&,
const
float
&);
19
void
normalize();
20
float
distanceToPoint(
const
float
&,
const
float
&,
const
float
&);
21
int
classifyPoint(
const
float
&,
const
float
&,
const
float
&);
22
void
getNormalVector(
Vector
&)
const
;
23
void
getDefinition(
float
&,
float
&,
float
&,
float
&)
const
;
24
25
private
:
26
float
a_, b_, c_, d_;
27
};
28
29
#endif
Plane
Definition:
Plane.h:13
Vector
Definition:
Vector.h:15
Vector.h
Represent and operate on vectors.
Generated on Wed May 3 2017 00:46:51 for Krig Game Engine by
1.8.13