aboutsummaryrefslogtreecommitdiff
path: root/mp/src/utils/vvis/WaterDist.cpp
blob: 933e178f576a102e60998c6b6e6c2f1adb296e0c (plain) (blame)
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
26
27
28
29
30
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
//=============================================================================//

#include "bsplib.h"

// input:
// from bsplib.h:
//		numleafs
//		dleafs

void EmitDistanceToWaterInfo( void )
{
	int leafID;
	for( leafID = 0; leafID < numleafs; leafID++ )
	{
		dleaf_t *pLeaf = &dleafs[leafID];
		if( pLeaf->leafWaterDataID == -1 )
		{
			// FIXME: set the distance to water to infinity here just in case.
			continue;
		}

		// Get the vis set for this leaf.
		
	}
}