MOS
Public Member Functions | Public Attributes | List of all members
mos::gfx::Box Class Referencefinal

Visual bounding box. More...

#include <box.hpp>

Public Member Functions

 Box (const glm::mat4 &transform, const glm::vec3 &extent)
 
auto position () const -> glm::vec3
 
auto size () const -> glm::vec3
 
auto min () const -> glm::vec3
 
auto max () const -> glm::vec3
 
auto inside (const glm::vec3 &point) const -> bool
 

Public Attributes

glm::mat4 transform
 
glm::vec3 extent
 

Detailed Description

Visual bounding box.


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