applyMatrix4 method

Ray applyMatrix4(
  1. Matrix4 m
)

Transforms this ray by the given 4x4 matrix.

Implementation

Ray applyMatrix4(Matrix4 m ) {
	origin.applyMatrix4( m );
	direction.transformDirection( m );

	return this;
}