Pioneer
Loading...
Searching...
No Matches
src
Plane.h
Go to the documentation of this file.
1
// Copyright © 2008-2024 Pioneer Developers. See AUTHORS.txt for details
2
// Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
3
4
#pragma once
5
6
#ifndef _PLANE_H
7
#define _PLANE_H
8
9
#include "
vector3.h
"
10
11
struct
SPlane
{
12
double
a
,
b
,
c
,
d
;
13
double
DistanceToPoint
(
const
vector3d
&p)
const
;
14
SPlane
()
15
{
/*default empty for Frustum*/
16
}
17
SPlane
(
const
vector3d
&N,
const
vector3d
&P);
18
};
19
20
#endif
/* _GEOPATCH_H */
vector3< double >
SPlane
Definition:
Plane.h:11
SPlane::SPlane
SPlane()
Definition:
Plane.h:14
SPlane::d
double d
Definition:
Plane.h:12
SPlane::b
double b
Definition:
Plane.h:12
SPlane::c
double c
Definition:
Plane.h:12
SPlane::a
double a
Definition:
Plane.h:12
SPlane::DistanceToPoint
double DistanceToPoint(const vector3d &p) const
Definition:
Plane.cpp:6
vector3.h
Generated by
1.9.6