1
This commit is contained in:
parent
3fdf02a816
commit
0ecb37d272
@ -253,6 +253,7 @@ int NavMeshBuilder::RasterizeTileLayers(BuilderParams& builder_params,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
// (Optional) Mark areas.
|
// (Optional) Mark areas.
|
||||||
const ConvexVolume* vols = builder_params.gemo->GetConvexVolumes();
|
const ConvexVolume* vols = builder_params.gemo->GetConvexVolumes();
|
||||||
for (int i = 0; i < builder_params.gemo->GetConvexVolumeCount(); ++i) {
|
for (int i = 0; i < builder_params.gemo->GetConvexVolumeCount(); ++i) {
|
||||||
@ -260,6 +261,7 @@ int NavMeshBuilder::RasterizeTileLayers(BuilderParams& builder_params,
|
|||||||
vols[i].hmin, vols[i].hmax,
|
vols[i].hmin, vols[i].hmax,
|
||||||
vols[i].areaMod, *rc.chf);
|
vols[i].areaMod, *rc.chf);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
rc.lset = rcAllocHeightfieldLayerSet();
|
rc.lset = rcAllocHeightfieldLayerSet();
|
||||||
if (!rc.lset) {
|
if (!rc.lset) {
|
||||||
|
@ -227,8 +227,10 @@ class InputGeom
|
|||||||
const float* GetVerts() const { return nullptr; }
|
const float* GetVerts() const { return nullptr; }
|
||||||
int GetVertCount() const { return 0; }
|
int GetVertCount() const { return 0; }
|
||||||
const rcChunkyTriMesh* GetChunkyMesh() { return nullptr; }
|
const rcChunkyTriMesh* GetChunkyMesh() { return nullptr; }
|
||||||
|
#if 0
|
||||||
const ConvexVolume* GetConvexVolumes() { return nullptr; }
|
const ConvexVolume* GetConvexVolumes() { return nullptr; }
|
||||||
int GetConvexVolumeCount() { return 0; }
|
int GetConvexVolumeCount() { return 0; }
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
struct BuilderParams
|
struct BuilderParams
|
||||||
|
Loading…
x
Reference in New Issue
Block a user