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::Volume< TDerived > Struct Template Reference
Inheritance diagram for ToyMaker::Volume< TDerived >:
ToyMaker::VolumeBase_

Public Member Functions

std::array< glm::vec3, 8 > getVolumeRelativeBoxCorners () const
 Poor man's vtable cont'd.
 
- Public Member Functions inherited from ToyMaker::VolumeBase_
template<typename TDerived>
std::array< glm::vec3, 8 > getVolumeRelativeBoxCorners () const
 Poor man's vtable which doesn't break Volume's ability to be aggregate initialized.
 

Additional Inherited Members

- Static Public Member Functions inherited from ToyMaker::VolumeBase_
static constexpr std::array< glm::vec3, 8 > GetCornerSignsArray ()
 Returns an array populated with axis-wise sign multipliers, where the positions on the array correspond to the corner of a box.
 
static std::array< glm::vec3, 8 > ComputeBoxCorners (const glm::vec3 &boxDimensions)
 Computes the model relative corners of a box, given the dimensions of the box.
 

Member Function Documentation

◆ getVolumeRelativeBoxCorners()

template<typename TDerived>
std::array< glm::vec3, 8 > ToyMaker::Volume< TDerived >::getVolumeRelativeBoxCorners ( ) const
inline

Poor man's vtable cont'd.

See also
VolumeBase_::getVolumeRelativeBoxCorners()

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