Bullet Collision Detection & Physics Library: btSoftBody.cpp File Reference

Bullet Collision Detection & Physics Library

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Macros
btSoftBody.cpp File Reference
`#include "btSoftBodyInternals.h"`
`#include "BulletSoftBody/btSoftBodySolvers.h"`
`#include "btSoftBodyData.h"`
`#include "LinearMath/btSerializer.h"`
Include dependency graph for btSoftBody.cpp:

Go to the source code of this file.

## Classes
struct | NodeLinks

## Macros
#define | IDX(_x_, _y_) ((_y_)*n+(_x_))
#define | NEXTRAND (seed=(1664525L*seed+1013904223L)&0xffffffff)
#define | PTR2IDX(_p_, _b_) reinterpret_cast<btSoftBody::Node*>((_p_)-(_b_))
#define | IDX2PTR(_p_, _b_)

## Macro Definition Documentation

#define IDX | ( |  | _x_,
|  |  | _y_
| ) |  | ((_y_)*n+(_x_))

#define IDX2PTR | ( |  | _p_,
|  |  | _b_
| ) |  |

Value:
map?(&(_b_)[map[(((char*)_p_)-(char*)0)]]): \
(&(_b_)[(((char*)_p_)-(char*)0)])

#define NEXTRAND (seed=(1664525L*seed+1013904223L)&0xffffffff)

#define PTR2IDX | ( |  | _p_,
|  |  | _b_
| ) |  | reinterpret_cast<btSoftBody::Node*>((_p_)-(_b_))