entttree 0.1.0
Hierarchical entity management for EnTT
Loading...
Searching...
No Matches
entttree::IntrinsicBounds< HTag, T, N, BTag > Struct Template Reference

ECS component storing an entity's own (intrinsic) bounding box. More...

#include <hierarchy_types.h>

Public Member Functions

bool operator== (const IntrinsicBounds &other) const =default
 

Public Attributes

Rect< T, Nbounds
 Axis-aligned bounding box in local coordinates.
 

Detailed Description

template<typename HTag, typename T, size_t N, typename BTag = HTag>
struct entttree::IntrinsicBounds< HTag, T, N, BTag >

ECS component storing an entity's own (intrinsic) bounding box.

Used by BoundsSystem. The computed bounds of a node are the union of its intrinsic bounds and the computed bounds of all its children (transformed into parent space).

Template Parameters
HTagTag type identifying the hierarchy.
TScalar type.
NSpatial dimension.
BTagOptional bounds-layer tag. Defaults to HTag.

Definition at line 79 of file hierarchy_types.h.

Member Data Documentation

◆ bounds

template<typename HTag , typename T , size_t N, typename BTag = HTag>
Rect<T,N> entttree::IntrinsicBounds< HTag, T, N, BTag >::bounds

Axis-aligned bounding box in local coordinates.

Definition at line 80 of file hierarchy_types.h.


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