##### Ninja Library - Collision Function

# njIsParalellL2L

Returns whether two lines are parallel

### FORMAT

`

  Bool njIsParalellL2L(*l1, *l2)
  NJS_LINE *l1
  NJS_LINE *l2

`

### PARAMETER

  `*l1` | Line 1 data
  `*l2` | Line 2 data

### RETURN

  TRUE | Parallel |
  FALSE | Not parallel |

### DESCRIPTION

  Determines whether or not two lines are parallel.

### EXAMPLE

      NJS_LINE l1, l2;
      l1.px = 100.f;
      l1.py = 100.f;
      l1.pz = 100.f;
      l1.vx = 3.f;
      l1.vy = 4.f;
      l1.vz = 5.f;
       l2.px = 100.f;
      l2.py = 100.f;
      l2.pz = -100.f;
      l2.vx = -3.f;
      l2.vy = -4.f;
      l2.vz = -5.f;
      njIsParalellL2L(&l1, &l2);
      % Result %
      TRUE

njIsParalellL2L

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999