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

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

#include <physics_component.h>

Public Attributes

math::vec3 center {}
 Center of the box.
 
math::vec3 extends {1.0f, 1.0f, 1.0f}
 Extents of the box.
 

Friends

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

Detailed Description

Represents a box shape for physics calculations.

Definition at line 20 of file physics_component.h.

Friends And Related Symbol Documentation

◆ operator==

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

Member Data Documentation

◆ center

math::vec3 unravel::physics_box_shape::center {}

Center of the box.

Definition at line 24 of file physics_component.h.

◆ extends

math::vec3 unravel::physics_box_shape::extends {1.0f, 1.0f, 1.0f}

Extents of the box.

Definition at line 25 of file physics_component.h.


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