Transformed Objects
To intersect with an object given by equation
, transformed by a transformation T, given by a 4x4 matrix
transform the ray to the coordinate system of the
object by applying the inverse transform:
remember that is a point (last homogeneous
coordinate 1), and is a vector (last coordinate 0).