Java Utililty Methods Vector Divide

List of utility methods to do Vector Divide

  1. HOME
  2. Java
  3. V
  4. Vector Divide

Description

The list of methods to do Vector Divide are organized into topic(s).

Method

void vectorDiv2D(float[] array, int vectorIndex, float scale)
This method divides the given 2D vector by the give scale value.
int tempIndex = 2 * vectorIndex;
array[tempIndex] /= scale;
array[tempIndex + 1] /= scale;

AltStyle によって変換されたページ (->オリジナル) /