Ray applyMatrix4(Matrix4 matrix4) { origin.applyMatrix4(matrix4); direction.transformDirection(matrix4); return this; }