code: function (matrix) {
          Vector3.add(this.direction, this.direction, this.origin);
          Vector3.transformMat4(this.origin, this.origin, matrix);
          Vector3.transformMat4(this.direction, this.direction, matrix);
  
          Vector3.sub(this.direction, this.direction, this.origin);
          Vector3.normalize(this.direction, this.direction);
      }
docs: Apply an affine transform matrix to the ray
  @return {clay.Matrix4} matrix