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::AreaCircle Struct Reference

A set of numbers representing a single circle situated somewhere in the world. More...

#include <spatial_query_basic_types.hpp>

Public Member Functions

bool isSensible () const
 Tests whether the circle described by these parameters is valid (as opposed to invalid, infinite, or degenerate)
 

Public Attributes

float mRadius { 0.f }
 The radius of the circle.
 
glm::vec3 mCenter { 0.f }
 The real-world coordinates of the center of the circle.
 
glm::vec3 mNormal { 0.f, -1.f, 0.f }
 A vector normal to the surface of the circle, in whose direction it may be assumed the circle is facing.
 

Detailed Description

A set of numbers representing a single circle situated somewhere in the world.

Member Function Documentation

◆ isSensible()

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

Tests whether the circle described by these parameters is valid (as opposed to invalid, infinite, or degenerate)

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

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