private float distance ( int i , float x , float y , float z ) { return frustum [ i ] [ 0 ] * x + frustum [ i ] [ 1 ] * y + frustum [ i ] [ 2 ] * z + frustum [ i ] [ 3 ] ; }
Compute the distance between a point and the given plane .