summaryrefslogtreecommitdiff
path: root/sim/src/rigid.h
blob: a19f60721a6e3fd717df954368813cb02b5bdfe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

// Copyright 2006 Nanorex, Inc.  See LICENSE file for details. 
extern void rigid_init(struct part *p);

extern void rigid_destroy(struct part *p);

extern void rigid_relative_to_absolute(struct part *p, int bodyIndex, struct xyz relative, struct xyz *absolute);

extern void rigid_apply_force_relative(struct part *p, int bodyIndex, struct xyz force_location_relative, struct xyz force_direction_absolute);

extern void rigid_forces(struct part *p, struct xyz *positions, struct xyz *forces);