##### Ninja Library - Collision Function

# njDistancePL2PL

Returns the distance between two planes

### FORMAT

`

  Float njDisatnceL2L( *pl1, *pl2, *l )
  NJS_PLANE *pl1
  NJS_PLANE *pl2
  NJS_LINE *l

`

### PARAMETER

  `*pl1` | Plane data 1
  `*pl2` | Plane data 2
  `*l` | Line of intersection between the two planes

### RETURN

  Distance between the two planes

### DESCRIPTION

  Returns the distance between the two planes When parameter l is not NULL, the line of intersection between the two planes is determined and stored in l (if the two planes are not parallel). If the two planes are parallel, the value of the members of l is 0.

njDistancePL2PL

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999