Ray::Ray(TraceTicket& ticket, RayType rt, bool shadowTest, bool photon, bool radiosity, bool monochromatic, bool pretrace) : ticket(ticket) { SetFlags(rt, shadowTest, photon, radiosity, monochromatic, pretrace); hollowRay = true; ClearInteriors(); }
Ray::Ray(TraceTicket& ticket, const Vector3d& ov, const Vector3d& dv, RayType rt, bool shadowTest, bool photon, bool radiosity, bool monochromatic, bool pretrace) : BasicRay(ov, dv), ticket(ticket) { SetFlags(rt, shadowTest, photon, radiosity, monochromatic, pretrace); hollowRay = true; ClearInteriors(); }
Ray::Ray(const VECTOR ov, const VECTOR dv, RayType rt, bool shadowTest, bool photon, bool radiosity, bool monochromatic, bool pretrace) { Assign_Vector(Origin, ov); Assign_Vector(Direction, dv); SetFlags(rt, shadowTest, photon, radiosity, monochromatic, pretrace); hollowRay = true; ClearInteriors(); }
Ray::Ray(RayType rt, bool shadowTest, bool photon, bool radiosity, bool monochromatic, bool pretrace) { Make_Vector(Origin, 0.0, 0.0, 0.0); Make_Vector(Direction, 0.0, 0.0, 0.0); SetFlags(rt, shadowTest, photon, radiosity, monochromatic, pretrace); hollowRay = true; ClearInteriors(); }