Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
ToyMaker::Plane Struct Reference

A set of numbers describing a plane situated somewhere in the world. More...

#include <spatial_query_basic_types.hpp>

Public Member Functions

bool isSensible () const
 Tests whether the plane described is sensible (as opposed to invalid, infinite, or degenerate).
 

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.
 

Detailed Description

A set of numbers describing a plane situated somewhere in the world.

Member Function Documentation

◆ isSensible()

bool ToyMaker::Plane::isSensible ( ) const
inline

Tests whether the plane described is sensible (as opposed to invalid, infinite, or degenerate).

Return values
trueThe plane is sensible;
falseThe plane is not sensible;

The documentation for this struct was generated from the following file: