PlayRho  2.0.0
An interactive physics engine & library.
playrho::DynamicTreeVariantData Union Reference

Variant data. More...

#include <playrho/d2/DynamicTreeData.hpp>

Collaboration diagram for playrho::DynamicTreeVariantData:
[legend]

Public Member Functions

constexpr DynamicTreeVariantData (Contactable value) noexcept
 Initializing constructor.
 
constexpr DynamicTreeVariantData (DynamicTreeBranchData value) noexcept
 Initializing constructor.
 
constexpr DynamicTreeVariantData (DynamicTreeUnusedData value) noexcept
 Initializing constructor.
 

Public Attributes

DynamicTreeBranchData branch
 Branch specific data.
 
Contactable leaf
 Leaf specific data.
 
DynamicTreeUnusedData unused
 Unused/free-list 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: