|
Unravel Engine C++ Reference
|
Represents a cylinder shape for physics calculations. More...
#include <physics_component.h>
Public Attributes | |
| math::vec3 | center {} |
| Center of the cylinder. | |
| float | radius {0.5f} |
| Radius of the cylinder. | |
| float | length {1.0f} |
| Length of the cylinder. | |
Friends | |
| auto | operator== (const physics_cylinder_shape &lhs, const physics_cylinder_shape &rhs) -> bool=default |
Represents a cylinder shape for physics calculations.
Definition at line 59 of file physics_component.h.
|
friend |
| math::vec3 unravel::physics_cylinder_shape::center {} |
Center of the cylinder.
Definition at line 63 of file physics_component.h.
| float unravel::physics_cylinder_shape::length {1.0f} |
Length of the cylinder.
Definition at line 65 of file physics_component.h.
| float unravel::physics_cylinder_shape::radius {0.5f} |
Radius of the cylinder.
Definition at line 64 of file physics_component.h.