ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/Development/ray/src/rt/source.h
(Generate patch)

Comparing ray/src/rt/source.h (file contents):
Revision 2.27 by greg, Sat Jan 18 03:49:00 2025 UTC vs.
Revision 2.28 by greg, Wed Oct 22 16:39:58 2025 UTC

# Line 117 | Line 117 | typedef struct {
117   *                              i passed to vproj runs from 0 to nproj-1.
118   */
119  
120 < typedef struct {
121 <        int  (*vproj)();        /* project virtual sources */
120 > typedef struct {                /* project virtual sources */
121 >        int  (*vproj)(MAT4,OBJREC*,SRCREC*,int);
122          int  nproj;             /* number of possible projections */
123   } VSMATERIAL;           /* virtual source material functions */
124  
125   typedef struct {
126 <        void    (*setsrc)();    /* set light source for object */
127 <        void    (*partit)();    /* partition light source object */
128 <        double  (*getpleq)();   /* plane equation for surface */
129 <        double  (*getdisk)();   /* maximum disk for surface */
126 >        void    (*setsrc)(SRCREC*,OBJREC*);     /* set light source for object */
127 >        void    (*partit)(SRCINDEX*,RAY*);      /* partition light source object */
128 >        double  (*getpleq)(FVECT,OBJREC*);      /* plane equation for surface */
129 >        double  (*getdisk)(FVECT,OBJREC*);      /* maximum disk for surface */
130   } SOBJECT;              /* source object functions */
131  
132   typedef union {

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)