sub2 method
Vector3
sub2(
- Vector3 vector,
- Vector3 target
Vector subtraction @param target Optional target to save in.
Implementation
Vector3 sub2(Vector3 vector, Vector3 target){
target.x = x-vector.x;
target.y = y-vector.y;
target.z = z-vector.z;
return target;
}