@Override // from IMatrix3 public Vector3 transformLocal (Vector3 vector) { return transform(vector, vector); }
@Override // from IMatrix3 public Vector3 transformLocal (Vector3 vector) { return transform(vector, vector); }
@Override // from IMatrix3 public Vector3 transform (IVector3 vector) { return transform(vector, new Vector3()); }
@Override // from IMatrix3 public Vector3 transform (IVector3 vector) { return transform(vector, new Vector3()); }
/** * Computes the bounds of the frustum under the supplied rotation and places the results in * the box provided. * * @return a reference to the result box, for chaining. */ public Box boundsUnderRotation (Matrix3 matrix, Box result) { result.setToEmpty(); for (Vector3 vertex : _vertices) { result.addLocal(matrix.transform(vertex, _vertex)); } return result; }
/** * Computes the bounds of the frustum under the supplied rotation and places the results in * the box provided. * * @return a reference to the result box, for chaining. */ public Box boundsUnderRotation (Matrix3 matrix, Box result) { result.setToEmpty(); for (Vector3 vertex : _vertices) { result.addLocal(matrix.transform(vertex, _vertex)); } return result; }