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

Comparing ray/src/cv/mgflib/xf.c (file contents):
Revision 1.1 by greg, Tue Jun 21 14:45:48 1994 UTC vs.
Revision 1.2 by greg, Wed Jun 22 15:33:50 1994 UTC

# Line 87 | Line 87 | char   **av;
87  
88  
89   void
90 + xf_clear()                      /* clear transform stack */
91 + {
92 +        register XF_SPEC        *spec;
93 +
94 +        while (xf_argc)
95 +                free((MEM_PTR)xf_argv[--xf_argc]);
96 +        if (xf_maxarg) {
97 +                free((MEM_PTR)xf_argv);
98 +                xf_argv = NULL;
99 +                xf_maxarg = 0;
100 +        }
101 +        while ((spec = xf_context) != NULL) {
102 +                xf_context = spec->prev;
103 +                free((MEM_PTR)spec);
104 +        }
105 + }
106 +
107 +
108 + void
109   xf_xfmpoint(v1, v2)             /* transform a point by the current matrix */
110   FVECT   v1, v2;
111   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines