applyMatrix4( matrix4 ) {

		this.origin.applyMatrix4( matrix4 );
		this.direction.transformDirection( matrix4 );

		return this;

	}
Transforms this ray with the given 4x4 transformation matrix.

@param {Matrix4} matrix4 - The transformation matrix.
@return {Ray} A reference to this ray.