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