File: DNA_rigidbody.h

package info (click to toggle)
bullet 3.06%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 15,012 kB
  • sloc: cpp: 243,705; lisp: 12,017; ansic: 11,175; python: 626; makefile: 133; sh: 75
file content (26 lines) | stat: -rw-r--r-- 347 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

#ifndef DNA_RIGIDBODY_H
#define DNA_RIGIDBODY_H

struct PointerArray
{
	int m_size;
	int m_capacity;
	void *m_data;
};

struct btPhysicsSystem
{
	PointerArray m_collisionShapes;
	PointerArray m_collisionObjects;
	PointerArray m_constraints;
};

///we need this to compute the pointer sizes
struct ListBase
{
	void *first;
	void *last;
};

#endif