ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/gen/xform.c
(Generate patch)

Comparing ray/src/gen/xform.c (file contents):
Revision 2.8 by greg, Sat Jan 1 09:19:36 1994 UTC vs.
Revision 2.9 by greg, Fri Oct 27 08:56:18 1995 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1994 Regents of the University of California */
1 > /* Copyright (c) 1995 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 642 | Line 642 | FILE  *fin;
642  
643   initotypes()                    /* initialize ofun[] array */
644   {
645        extern int  o_source();
646        extern int  o_sphere();
647        extern int  o_face();
648        extern int  o_cone();
649        extern int  o_cylinder();
650        extern int  o_ring();
651        extern int  m_glow();
652        extern int  m_spot();
653        extern int  m_dielectric();
654        extern int  m_interface();
655        extern int  text();
656        extern int  alias();
657        extern int  passargs();
658        extern int  addxform();
645          register int  i;
646  
647          if (ofun[OBJ_SOURCE].funp == o_source)
# Line 687 | Line 673 | initotypes()                   /* initialize ofun[] array */
673          ofun[MIX_TEXT].funp = text;
674          ofun[ALIAS].funp = alias;
675                                          /* surface inverses */
676 +        tinvers[OBJ_FACE] = OBJ_FACE;
677          tinvers[OBJ_SOURCE] = OBJ_SOURCE;
678          tinvers[OBJ_CONE] = OBJ_CUP;
679          tinvers[OBJ_CUP] = OBJ_CONE;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines