Pioneer
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;
17  { /*default empty for Frustum*/
18  }
19  SPlane(const vector3d &N, const vector3d &P);
20 };
21 
22 #endif /* _GEOPATCH_H */
Definition: Plane.h:13
SPlane()
Definition: Plane.h:16
double d
Definition: Plane.h:14
double b
Definition: Plane.h:14
double c
Definition: Plane.h:14
double a
Definition: Plane.h:14
double DistanceToPoint(const vector3d &p) const
Definition: Plane.cpp:7