PlayRho  1.1.0
An Interactive Real-Time-Oriented C++ Physics Engine & Library
playrho::d2::DynamicTree::VariantData Union Reference

Variant data. More...

#include <DynamicTree.hpp>

Collaboration diagram for playrho::d2::DynamicTree::VariantData:
[legend]

Public Member Functions

 VariantData () noexcept
 Default constructor.
 
constexpr VariantData (UnusedData value) noexcept
 Initializing constructor.
 
constexpr VariantData (LeafData value) noexcept
 Initializing constructor.
 
constexpr VariantData (BranchData value) noexcept
 Initializing constructor.
 

Public Attributes

UnusedData unused
 Unused/free-list specific data.
 
LeafData leaf
 Leaf specific data.
 
BranchData branch
 Branch specific data.
 

Detailed Description

Variant data.

Note
A union is used intentionally to save space.

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