/** * Adds a vector in-place to this one. * * @return a reference to this vector, for chaining. */ public Vector3 addLocal (float x, float y, float z) { return add(x, y, z, this); }
/** * Adds a vector in-place to this one. * * @return a reference to this vector, for chaining. */ public Vector3 addLocal (float x, float y, float z) { return add(x, y, z, this); }
/** * Adds a vector in-place to this one. * * @return a reference to this vector, for chaining. */ public Vector3 addLocal (IVector3 other) { return add(other, this); }
/** * Adds a vector in-place to this one. * * @return a reference to this vector, for chaining. */ public Vector3 addLocal (IVector3 other) { return add(other, this); }
@Override // from interface IVector3 public Vector3 add (float x, float y, float z) { return add(x, y, z, new Vector3()); }
@Override // from interface IVector3 public Vector3 add (float x, float y, float z) { return add(x, y, z, new Vector3()); }
@Override // from IBox public Vector3 center (Vector3 result) { return _minExtent.add(_maxExtent, result).multLocal(0.5f); }
@Override // from interface IVector3 public Vector3 add (IVector3 other) { return add(other, new Vector3()); }
@Override // from IBox public Vector3 center (Vector3 result) { return _minExtent.add(_maxExtent, result).multLocal(0.5f); }
@Override // from interface IVector3 public Vector3 add (IVector3 other) { return add(other, new Vector3()); }
@Override // from interface IVector3 public Vector3 add (IVector3 other, Vector3 result) { return add(other.x(), other.y(), other.z(), result); }
@Override // from interface IVector3 public Vector3 subtract (IVector3 other, Vector3 result) { return add(-other.x(), -other.y(), -other.z(), result); }
@Override // from interface IVector3 public Vector3 add (IVector3 other, Vector3 result) { return add(other.x(), other.y(), other.z(), result); }
@Override // from interface IVector3 public Vector3 subtract (IVector3 other, Vector3 result) { return add(-other.x(), -other.y(), -other.z(), result); }