--- ray/src/rt/initotypes.c 2003/02/25 02:47:22 2.8 +++ ray/src/rt/initotypes.c 2003/03/11 19:29:05 2.10 @@ -1,11 +1,11 @@ #ifndef lint -static const char RCSid[] = "$Id: initotypes.c,v 2.8 2003/02/25 02:47:22 greg Exp $"; +static const char RCSid[] = "$Id: initotypes.c,v 2.10 2003/03/11 19:29:05 greg Exp $"; #endif /* * Initialize ofun[] list for renderers */ -#include "copyright.h" +#include "copyright.h" #include "standard.h" @@ -17,6 +17,7 @@ extern int o_sphere(); extern int o_face(); extern int o_cone(); extern int o_instance(); +extern int o_mesh(); extern int m_light(); extern int m_normal(); extern int m_aniso(); @@ -28,6 +29,7 @@ extern int m_mirror(); extern int m_direct(); extern int m_brdf(); extern int m_brdf2(); +extern int m_alias(); extern int t_func(), t_data(); extern int p_cfunc(), p_bfunc(); extern int p_pdata(), p_cdata(), p_bdata(); @@ -48,6 +50,8 @@ initotypes() /* initialize ofun array */ ofun[OBJ_TUBE].funp = ofun[OBJ_RING].funp = o_cone; ofun[OBJ_INSTANCE].funp = o_instance; + ofun[OBJ_MESH].funp = o_mesh; + ofun[MOD_ALIAS].funp = m_alias; ofun[MAT_LIGHT].funp = ofun[MAT_ILLUM].funp = ofun[MAT_GLOW].funp =