Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::physics_sphere_shape Struct Reference

Represents a sphere shape for physics calculations. More...

#include <physics_component.h>

Public Attributes

math::vec3 center {}
 Center of the sphere.
 
float radius {0.5f}
 Radius of the sphere.
 

Friends

auto operator== (const physics_sphere_shape &lhs, const physics_sphere_shape &rhs) -> bool=default
 

Detailed Description

Represents a sphere shape for physics calculations.

Definition at line 32 of file physics_component.h.

Friends And Related Symbol Documentation

◆ operator==

auto operator== ( const physics_sphere_shape & lhs,
const physics_sphere_shape & rhs ) -> bool=default
friend

Member Data Documentation

◆ center

math::vec3 unravel::physics_sphere_shape::center {}

Center of the sphere.

Definition at line 36 of file physics_component.h.

◆ radius

float unravel::physics_sphere_shape::radius {0.5f}

Radius of the sphere.

Definition at line 37 of file physics_component.h.


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