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
|
#ifndef STATICWORLDOBJECT_H
#define STATICWORLDOBJECT_H
#include <string>
#include <vector>
#include <ode/ode.h>
#include <plib/ssg.h>
#include "worldobject.h"
class StaticWorldObject : public WorldObject
{
public:
StaticWorldObject(ssgEntity *model, dSpaceID bigspace, sgVec3 initialpos);
virtual ~StaticWorldObject();
void WalkTree(ssgEntity *e, sgVec3 initialpos);
void AddLeaf(ssgLeaf *leaf, sgVec3 initialpos);
protected:
std::vector<dGeomID> geomids;
std::vector<dTriMeshDataID> dataids;
dSpaceID space;
};
#endif
|