Rasterfarm-SDK
Loading...
Searching...
No Matches
Physical::Velocity Struct Reference

#include <physical.h>

Public Member Functions

 Velocity (float limit=std::numeric_limits< float >::max())
 
 Velocity (const Vector3f &linear, float limit=std::numeric_limits< float >::max())
 

Public Attributes

Vector3f linear
 
Vector3f angular
 
float limit
 

Constructor & Destructor Documentation

◆ Velocity() [1/2]

Physical::Velocity::Velocity ( float limit = std::numeric_limits< float >::max())
inline

◆ Velocity() [2/2]

Physical::Velocity::Velocity ( const Vector3f & linear,
float limit = std::numeric_limits< float >::max() )
inline

Member Data Documentation

◆ angular

Vector3f Physical::Velocity::angular

Holds the current value of velocity per-object. This is update by Physical::next().

◆ limit

float Physical::Velocity::limit

The maximum-limit or magnitude of linear velocity.

◆ linear

Vector3f Physical::Velocity::linear

Holds the current value of velocity per-object. This is update by Physical::next().


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