Java Array Subtract SubtractVec3D(double[] vec3Ret, double[] vec3A, double[] vec3B)

Here you can find the source of SubtractVec3D(double[] vec3Ret, double[] vec3A, double[] vec3B)

Description

Subtract Vec D

License

Open Source License

Declaration

public static void SubtractVec3D(double[] vec3Ret, double[] vec3A, double[] vec3B) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static void SubtractVec3D(double[] vec3Ret, double[] vec3A, double[] vec3B) {
        vec3Ret[0] = vec3A[0] - vec3B[0];
        vec3Ret[1] = vec3A[1] - vec3B[1];
        vec3Ret[2] = vec3A[2] - vec3B[2];
    }//ww  w.  j a va2  s.  co m
}

Related

  1. subtractRange(double[] accumulator, int offset, double[] values)
  2. subtractSignals(double[] s1, double[] s2)
  3. subtractTo(double a[][][], double b[][][])
  4. subtractUnitsArray(int[] units1, int[] units2)
  5. SubtractVec2D(double[] vec2Ret, double[] vec2A, double[] vec2B)