|
ToyMaker Game Engine 0.0.2
ToyMaker is a game engine developed and maintained by Zoheb Shujauddin.
|
A set of numbers describing a plane situated somewhere in the world. More...
#include <types.hpp>
Public Member Functions | |
| bool | isSensible () const |
| Tests whether the plane described is sensible (as opposed to invalid, infinite, or degenerate). | |
| bool | isPositiveStrict () const |
| Same as Plane::isSensible(). | |
Public Attributes | |
| glm::vec3 | mPointOnPlane { 0.f } |
| A known point on the plane. | |
| glm::vec3 | mNormal { 0.f, 0.f, -1.f } |
| A vector normal to the plane. | |
A set of numbers describing a plane situated somewhere in the world.
|
inline |
Same as Plane::isSensible().
|
inline |
Tests whether the plane described is sensible (as opposed to invalid, infinite, or degenerate).
| true | The plane is sensible; |
| false | The plane is not sensible; |