390
390
// (a,b,c), the plane normal, are given by viewdir
391
391
// d is the parameter along the view direction. the first d is given by
392
392
// inserting previously found vertex into the plane equation
394
395
ds = (ABS(viewnormal[0])*size[0] + ABS(viewnormal[1])*size[1] + ABS(viewnormal[2])*size[2]);