simple ray class as raytrace unit