pub fn ray_from_transform(transform: Mat4) -> Ray3d