applyMatrix4 method
Transforms this bounding sphere with the given 4x4 transformation matrix.
Implementation
BoundingSphere applyMatrix4(Matrix4 matrix ) {
center.applyMatrix4( matrix );
radius = radius * matrix.getMaxScale();
return this;
}
Transforms this bounding sphere with the given 4x4 transformation matrix.
BoundingSphere applyMatrix4(Matrix4 matrix ) {
center.applyMatrix4( matrix );
radius = radius * matrix.getMaxScale();
return this;
}