Free Electron
Macros | Typedefs | Functions
xWiggle.cc File Reference
#include "solve/solve.h"
#include "window/window.h"
#include "window/WindowEvent.h"
#include "draw/draw.h"
Include dependency graph for xWiggle.cc:

Macros

#define SPARSE   TRUE
 
#define DETAIL   FALSE
 
#define CHAIN   FALSE
 
#define MONO   (!DETAIL)
 
#define LEVELS   5
 
#define SPLITS   2
 
#define STICKS   ((1<<LEVELS)-1)
 
#define DELTA_T   (1.0f/60.0f)
 
#define FIXED_ARG
 
#define SPARSE_ARG
 
#define BOOST   1.05f
 
#define KINK   2.0f
 

Typedefs

typedef Vector< STICKS, F32 > VectorN
 
typedef Matrix< STICKS, STICKS, F32 > MatrixN
 

Functions

F32 collision_force (F32 displacement)
 
F32 collision_dfdx (F32 displacement)
 
int main (int argc, char **argv)