Line | |
---|
1 | |
---|
2 | #include "IMGVoxel.h" |
---|
3 | |
---|
4 | namespace IMG { |
---|
5 | |
---|
6 | //Voxel(Ogre::AxisAlignedBox &box); |
---|
7 | Voxel::Voxel(BBox & box){ |
---|
8 | } |
---|
9 | |
---|
10 | Voxel::Voxel(){ |
---|
11 | } |
---|
12 | |
---|
13 | Voxel::Voxel(const Voxel & v){ |
---|
14 | } |
---|
15 | |
---|
16 | void Voxel::Print() { |
---|
17 | } |
---|
18 | |
---|
19 | // Gametools -- Isma 17/08/2005 |
---|
20 | //unsigned int GetNextPatch() //return the id to next patch in the voxel |
---|
21 | //{ |
---|
22 | // if (index < GetSizePatchList()) return patchlistid.Get(index++); |
---|
23 | // //return -1; |
---|
24 | // return 0; |
---|
25 | //} |
---|
26 | // Gametools -- Isma 17/08/2005 |
---|
27 | //unsigned int GetPatch(unsigned int i) { if (i < GetSizePatchList()) return patchlistid.Get(i); else return 0;} |
---|
28 | // Gametools -- Isma 17/08/2005 |
---|
29 | //unsigned int GetPolygon(unsigned int i) { if (i < GetSizePolygonList())return polygonlistid.Get(i); else return 0; } |
---|
30 | // Gametools -- Isma 17/08/2005 |
---|
31 | //unsigned int GetNextObsPoly() //return the id to next obspoly in the voxel |
---|
32 | //{ |
---|
33 | // if (index_obspoly < GetSizePolygonList()) return polygonlistid.Get(index_obspoly++); |
---|
34 | // //return -1; |
---|
35 | // return 0; |
---|
36 | //} |
---|
37 | bool Voxel::AddPatch(unsigned int id) { |
---|
38 | return true; |
---|
39 | } |
---|
40 | |
---|
41 | //add one patch (only the id) to list_id_patch |
---|
42 | bool Voxel::AddPoly(unsigned int id) { |
---|
43 | return true; |
---|
44 | } |
---|
45 | |
---|
46 | unsigned int Voxel::ID_VOXELS; |
---|
47 | |
---|
48 | |
---|
49 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.