Pioneer
Loading...
Searching...
No Matches
src
Plane.h
Go to the documentation of this file.
1
// Copyright © 2008-2023 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 <SDL_stdinc.h>
10
11
#include "
vector3.h
"
12
13
struct
SPlane
{
14
double
a
,
b
,
c
,
d
;
15
double
DistanceToPoint
(
const
vector3d
&p)
const
;
16
SPlane
()
17
{
/*default empty for Frustum*/
18
}
19
SPlane
(
const
vector3d
&N,
const
vector3d
&P);
20
};
21
22
#endif
/* _GEOPATCH_H */
vector3< double >
SPlane
Definition
Plane.h:13
SPlane::SPlane
SPlane()
Definition
Plane.h:16
SPlane::d
double d
Definition
Plane.h:14
SPlane::b
double b
Definition
Plane.h:14
SPlane::c
double c
Definition
Plane.h:14
SPlane::a
double a
Definition
Plane.h:14
SPlane::DistanceToPoint
double DistanceToPoint(const vector3d &p) const
Definition
Plane.cpp:7
vector3.h
Generated by
1.9.7