GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::physics::SubCollider< N > Struct Template Reference

Sub-collider of a compound collider shape. More...

#include <GREM/physics/Shape.hpp>

Public Attributes

Collider< N > collider
 Collider being transformed.
Length< N > localOffset {}
 Local offset of the transformed shape relative to the outer shape.
Orientation< N > localOrientation {}
 Local orientation of the transformed shape relative to the outer shape.
Scale< N > localScale {Scalar{1}}
 Local scale of the transformed shape relative to the outer shape. Each component must be positive.

Detailed Description

template<size_t N>
struct grem::physics::SubCollider< N >

Sub-collider of a compound collider shape.

Template Parameters
Nnumber of dimensions of the world space (must be 2 or 3).

Member Data Documentation

◆ collider

template<size_t N>
Collider<N> grem::physics::SubCollider< N >::collider

Collider being transformed.

◆ localOffset

template<size_t N>
Length<N> grem::physics::SubCollider< N >::localOffset {}

Local offset of the transformed shape relative to the outer shape.

◆ localOrientation

template<size_t N>
Orientation<N> grem::physics::SubCollider< N >::localOrientation {}

Local orientation of the transformed shape relative to the outer shape.

◆ localScale

template<size_t N>
Scale<N> grem::physics::SubCollider< N >::localScale {Scalar{1}}

Local scale of the transformed shape relative to the outer shape. Each component must be positive.


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