btSoftBodyHelpers.cpp File Reference
#include "btSoftBodyInternals.h"
#include <stdio.h>
#include <string.h>
#include "btSoftBodyHelpers.h"
#include "LinearMath/btConvexHull.h"
Go to the source code of this file.
Defines |
| #define | IDX(_x_, _y_) ((_y_)*rx+(_x_)) |
| #define | IDX(_x_, _y_) ((_y_)*rx+(_x_)) |
| #define | IDX(_x_, _y_) ((_y_)*maxidx+(_x_)) |
Functions |
| static void | drawVertex (btIDebugDraw *idraw, const btVector3 &x, btScalar s, const btVector3 &c) |
| | btSoftBodyHelpers.cpp by Nathanael Presson
|
| static void | drawBox (btIDebugDraw *idraw, const btVector3 &mins, const btVector3 &maxs, const btVector3 &color) |
| static void | drawTree (btIDebugDraw *idraw, const btDbvtNode *node, int depth, const btVector3 &ncolor, const btVector3 &lcolor, int mindepth, int maxdepth) |
| template<typename T > |
| static T | sum (const btAlignedObjectArray< T > &items) |
| template<typename T , typename Q > |
| static void | add (btAlignedObjectArray< T > &items, const Q &value) |
| template<typename T , typename Q > |
| static void | mul (btAlignedObjectArray< T > &items, const Q &value) |
| template<typename T > |
| static T | average (const btAlignedObjectArray< T > &items) |
| static btScalar | tetravolume (const btVector3 &x0, const btVector3 &x1, const btVector3 &x2, const btVector3 &x3) |
| static int | nextLine (const char *buffer) |
Define Documentation
| #define IDX |
( |
_x_, |
|
|
_y_ |
|
) |
((_y_)*maxidx+(_x_)) |
| #define IDX |
( |
_x_, |
|
|
_y_ |
|
) |
((_y_)*rx+(_x_)) |
| #define IDX |
( |
_x_, |
|
|
_y_ |
|
) |
((_y_)*rx+(_x_)) |
Function Documentation
template<typename T , typename Q >
template<typename T , typename Q >
| static int nextLine |
( |
const char * |
buffer |
) |
[static] |