sub2 method
Vector3
sub2(
- Vector3 a,
- Vector3 b
Subtract a
from b
Implementation
Vector3 sub2 (Vector3 a,Vector3 b ) {
x = a.x - b.x;
y = a.y - b.y;
z = a.z - b.z;
return this;
}
Subtract a
from b
Vector3 sub2 (Vector3 a,Vector3 b ) {
x = a.x - b.x;
y = a.y - b.y;
z = a.z - b.z;
return this;
}