void rt_scalarvol(void * tex, vector min, vector max, int xs, int ys, int zs, char * fname, void * invol) { add_object((object *) newscalarvol(tex, (vector)min, (vector)max, xs, ys, zs, fname, (scalarvol *) invol)); }
void rt_scalarvol(SceneHandle scene, void * tex, apivector min, apivector max, int xs, int ys, int zs, const char * fname, void * voidvol) { scalarvol * invol = (scalarvol *) voidvol; add_bounded_object((scenedef *) scene, (object *) newscalarvol(tex, min, max, xs, ys, zs, fname, invol)); }