1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2026-10-10 20:03:08 +08:00
Files
2025-05-17 14:13:05 -04:00

31 lines
610 B
C++

//========= Copyright © 1996-2005, 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.
}
}