njCollisionCheckSS | Japanese
    <-|INDEX|->
Checks collision for two spheres.

### FORMAT

      #include <Ninja.h>
      Int njCollisionCheckSS( *sphere1,  *sphere2 )
      NJS_SPHERE *sphere1
      NJS_SPHERE *sphere2

### PARAMETERS

*sphere1
  Collision checked object, sphere #1
*sphere2
  Collision checked object, sphere #2

### RETURN VALUE

  1: Hit
  0: Not hit

### ERROR VALUE

  None

### FUNCTION

  Checks collision for two spheres.

### EXAMPLE

  Checks collision for two spheres, sphere1 and sphere2.

      NJS_SPHERE sphere1,sphere2;

      sphere1.c.x = -80.f;
      sphere1.c.y = 0.f;
      sphere1.c.z = 0.f;
      sphere1.r = 100.f;
      sphere2.c.x = 80.f;
      sphere2.c.y = 0.f;
      sphere2.c.z = 0.f;
      sphere2.r = 100.f;

      njCollisionCheckSS(&sphere1, &sphere2);

      Result
      Return value: 1

### NOTES

  NJS_SPHERE structure (sphere)

      typedef struct{
          NJS_POINT3 c;/* center of sphere */
          Float      r;/* radius of sphere */
      } NJS_SPHERE;

  A sphere consists of center coordinate c and radius r.

### RELATED TOPICS

njCollisionCheckSS |
    <-|INDEX|->