docs: protected float weight( float distance ) {
  		float findex = distance*100f;
  		int index = (int)findex;
  
  		if( index >= 99 )
  			return weightTable[99];
  
  		float sample0 = weightTable[index];
  		float sample1 = weightTable[index+1];
  
  		float w = findex-index;
  		return sample0*(1f-w) + sample1*w;
  	}