Public Member Functions | Public Attributes | List of all members
b2RopeDef Struct Reference

#include <b2Rope.h>

Public Member Functions

 b2RopeDef ()
 

Public Attributes

int32 count
 
float32 damping
 
b2Vec2 gravity
 
float32 k2
 Stretching stiffness. More...
 
float32 k3
 Bending stiffness. Values above 0.5 can make the simulation blow up. More...
 
float32masses
 
b2Vec2vertices
 

Detailed Description

Definition at line 27 of file b2Rope.h.

Constructor & Destructor Documentation

b2RopeDef::b2RopeDef ( )
inline

Definition at line 29 of file b2Rope.h.

Member Data Documentation

int32 b2RopeDef::count

Definition at line 44 of file b2Rope.h.

float32 b2RopeDef::damping

Definition at line 53 of file b2Rope.h.

b2Vec2 b2RopeDef::gravity

Definition at line 50 of file b2Rope.h.

float32 b2RopeDef::k2

Stretching stiffness.

Definition at line 56 of file b2Rope.h.

float32 b2RopeDef::k3

Bending stiffness. Values above 0.5 can make the simulation blow up.

Definition at line 59 of file b2Rope.h.

float32* b2RopeDef::masses

Definition at line 47 of file b2Rope.h.

b2Vec2* b2RopeDef::vertices

Definition at line 41 of file b2Rope.h.


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


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:52