neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::game::rigid_body Struct Reference

#include <rigid_body.hpp>

Classes

struct  meta
 

Public Attributes

vec3 position
 
scalar mass
 
vec3 velocity
 
vec3 acceleration
 
vec3 angle
 
vec3 spin
 
vec3 centerOfMass
 
scalar drag
 

Detailed Description

Definition at line 29 of file rigid_body.hpp.

Member Data Documentation

◆ acceleration

vec3 neogfx::game::rigid_body::acceleration

Definition at line 34 of file rigid_body.hpp.

◆ angle

vec3 neogfx::game::rigid_body::angle

Definition at line 35 of file rigid_body.hpp.

◆ centerOfMass

vec3 neogfx::game::rigid_body::centerOfMass

Definition at line 37 of file rigid_body.hpp.

◆ drag

scalar neogfx::game::rigid_body::drag

Definition at line 38 of file rigid_body.hpp.

◆ mass

scalar neogfx::game::rigid_body::mass

Definition at line 32 of file rigid_body.hpp.

◆ position

vec3 neogfx::game::rigid_body::position

Definition at line 31 of file rigid_body.hpp.

◆ spin

vec3 neogfx::game::rigid_body::spin

Definition at line 36 of file rigid_body.hpp.

◆ velocity

vec3 neogfx::game::rigid_body::velocity

Definition at line 33 of file rigid_body.hpp.


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