247 {
248 gatheredGurfaces.Clear();
249
252
253 positions.Insert(playerPos);
258
259 foreach (
vector pos : positions)
260 {
261 string surfaceType;
262 g_Game.SurfaceGetType3D(pos[0],pos[1], pos[2], surfaceType);
263
264 if (!gatheredGurfaces.Contains(surfaceType))
265 gatheredGurfaces.Insert(surfaceType, pos);
266 }
267
268 #ifdef DIAG_DEVELOPER
270 {
271 foreach (
vector p:positions)
273 }
274 #endif
275
276 }
const float SURFACE_CHECK_POINT_DISTANCE
static Shape DrawLine(vector from, vector to, int color=0xFFFFFFFF, int flags=0)
array< vector > TVectorArray