Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 350 vs 366 for /trunk/Source Code/AI/PathFinding/NavMeshes/Headers/NavMeshLoader.h

Diff revisions: vs.
  @@ -131,7 +131,10 @@
131 131 };
132 132
133 133 namespace NavigationMeshLoader {
134 - enum MeshDetailLevel { DETAIL_ABSOLUTE = 0, DETAIL_BOUNDINGBOX = 1 };
134 + enum class MeshDetailLevel : U32 {
135 + DETAIL_ABSOLUTE = 0,
136 + DETAIL_BOUNDINGBOX = 1
137 + };
135 138
136 139 /// Load the input geometry from file (Wavefront OBJ format) and save it in
137 140 /// 'outData'
  @@ -149,7 +152,7 @@
149 152
150 153 void addTriangle(NavModelData* modelData, const vec3<U32>& triangleIndices,
151 154 U32 triangleIndexOffset = 0,
152 - const SamplePolyAreas& areaType = SAMPLE_POLYAREA_GROUND);
155 + const SamplePolyAreas& areaType = SamplePolyAreas::SAMPLE_POLYAREA_GROUND);
153 156
154 157 char* parseRow(char* buf, char* bufEnd, char* row, I32 len);
155 158