Rapier C — 3D / f64 0.36.0+c.0
Loading...
Searching...
No Matches
R3CharacterLength Struct Reference

CharacterLength counterpart: relative=1 scales with character height, relative=0 uses world units. More...

#include <rapier.h>

Data Fields

R3Real value
 Nonnegative length: a fraction of the character shape height when relative is 1, a world-space length otherwise.
R3Bool relative
 1 scales value by the character shape size; 0 uses an absolute length.

Detailed Description

CharacterLength counterpart: relative=1 scales with character height, relative=0 uses world units.

Field Documentation

◆ relative

R3Bool R3CharacterLength::relative

1 scales value by the character shape size; 0 uses an absolute length.

◆ value

R3Real R3CharacterLength::value

Nonnegative length: a fraction of the character shape height when relative is 1, a world-space length otherwise.


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