njScalor2 | Japanese
    <-|INDEX|->
Returns the square of the scalar of an arbitrary vector.

### FORMAT

      #include <Ninja.h>

      Float njScalor2(*v)
      NJS_VECTOR *v

### PARAMETERS

NJS_VECTOR *v
  arbitrary vector

### RETURN VALUE

  Square of the vector size (scalar)

### FUNCTION

- Returns the square of the scalar of an arbitrary vector.

### EXAMPLE

  The following returns the square of the scalar of vector v(3, 3, 3).

      NJS_VECTOR v;
      Float scalor2;

      v.x = 3.f;
      v.y = 3.f;
      v.z = 3.f;

      scalor2 = njScalor2(&v)

      % Result %
      scalor2 = 27

### NOTES

### RELATED TOPICS

njScalor2 |
    <-|INDEX|->