Functions
b2_joint.cpp File Reference
#include "box2d/b2_block_allocator.h"
#include "box2d/b2_body.h"
#include "box2d/b2_distance_joint.h"
#include "box2d/b2_draw.h"
#include "box2d/b2_friction_joint.h"
#include "box2d/b2_gear_joint.h"
#include "box2d/b2_motor_joint.h"
#include "box2d/b2_mouse_joint.h"
#include "box2d/b2_prismatic_joint.h"
#include "box2d/b2_pulley_joint.h"
#include "box2d/b2_revolute_joint.h"
#include "box2d/b2_weld_joint.h"
#include "box2d/b2_wheel_joint.h"
#include "box2d/b2_world.h"
#include <new>
Include dependency graph for b2_joint.cpp:

Go to the source code of this file.

Functions

void b2AngularStiffness (float &stiffness, float &damping, float frequencyHertz, float dampingRatio, const b2Body *bodyA, const b2Body *bodyB)
 Utility to compute rotational stiffness values frequency and damping ratio. More...
 
void b2LinearStiffness (float &stiffness, float &damping, float frequencyHertz, float dampingRatio, const b2Body *bodyA, const b2Body *bodyB)
 Utility to compute linear stiffness values from frequency and damping ratio. More...
 

Function Documentation

◆ b2AngularStiffness()

void b2AngularStiffness ( float &  stiffness,
float &  damping,
float  frequencyHertz,
float  dampingRatio,
const b2Body bodyA,
const b2Body bodyB 
)

Utility to compute rotational stiffness values frequency and damping ratio.

Definition at line 65 of file b2_joint.cpp.

◆ b2LinearStiffness()

void b2LinearStiffness ( float &  stiffness,
float &  damping,
float  frequencyHertz,
float  dampingRatio,
const b2Body bodyA,
const b2Body bodyB 
)

Utility to compute linear stiffness values from frequency and damping ratio.

Definition at line 40 of file b2_joint.cpp.



mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22