void rt_ring3fv(SceneHandle scene, void * tex, const float *ctr, const float *norm, float inner, float outer) { vector vctr, vnorm; vctr.x = ctr[0]; vctr.y = ctr[1]; vctr.z = ctr[2]; vnorm.x = norm[0]; vnorm.y = norm[1]; vnorm.z = norm[2]; add_bounded_object((scenedef *) scene, newring(tex, vctr, vnorm, inner, outer)); }
void rt_ring(void * tex, vector ctr, vector norm, apiflt a, apiflt b) { add_object(newring(tex, (vector)ctr, (vector)norm, a, b)); }
void rt_ring(SceneHandle scene, void * tex, apivector ctr, apivector norm, flt inner, flt outer) { add_bounded_object((scenedef *) scene, newring(tex, ctr, norm, inner, outer)); }