group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
physics::WorldCylinder Struct Reference

A vertical (Y-axis) cylinder in world space. More...

#include <SweptCollision.hpp>

Public Attributes

glm::vec3 base
 Centre of the bottom cap.
float radius
 Horizontal radius.
float height
 Extent along +Y from base.

Detailed Description

A vertical (Y-axis) cylinder in world space.

Defined by a base centre point, radius, and height. The cylinder extends from base.y to base.y + height along the Y axis.

Member Data Documentation

◆ base

glm::vec3 physics::WorldCylinder::base

Centre of the bottom cap.

◆ height

float physics::WorldCylinder::height

Extent along +Y from base.

◆ radius

float physics::WorldCylinder::radius

Horizontal radius.


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