GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::resource::Model::CapsuleShape Struct Reference

Parameters describing a capsule shape. More...

#include <GREM/resource/Model.hpp>

Public Attributes

float halfLength
 Half of the distance between the centers of the two capping spheres of capsule.
float bottomRadius
 Radius of the sphere located at the bottom of the capsule (i.e. the sphere at the half-height along -Y).
float topRadius
 Radius of the sphere located at the top of the capsule (i.e. the sphere at the half-height along +Y).

Detailed Description

Parameters describing a capsule shape.

Member Data Documentation

◆ halfLength

float grem::resource::Model::CapsuleShape::halfLength

Half of the distance between the centers of the two capping spheres of capsule.

◆ bottomRadius

float grem::resource::Model::CapsuleShape::bottomRadius

Radius of the sphere located at the bottom of the capsule (i.e. the sphere at the half-height along -Y).

◆ topRadius

float grem::resource::Model::CapsuleShape::topRadius

Radius of the sphere located at the top of the capsule (i.e. the sphere at the half-height along +Y).


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