ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/holo.h
(Generate patch)

Comparing ray/src/hd/holo.h (file contents):
Revision 3.5 by gregl, Tue Nov 11 16:59:34 1997 UTC vs.
Revision 3.6 by gregl, Thu Dec 11 11:47:57 1997 UTC

# Line 89 | Line 89 | typedef struct holo {
89   #define bnrays(hp,i)    ((hp)->bl[i]!=NULL ? (hp)->bl[i]->nrm : (hp)->bi[i].nrd)
90  
91   #define hdflush(hp)     (hdfreebeam(hp,0) && hdsync(hp))
92 + #define hdclobber(hp)   (hdkillbeam(hp,0) && hdsync(hp))
93  
94   extern HOLO     *hdinit(), *hdalloc();
95   extern BEAM     *hdgetbeam();
# Line 117 | Line 118 | extern float   hd_depthmap[];          /* depth conversion map *
118   * blank line, with "FORMAT=Holodeck" somewhere in it.
119   * The first integer after the information header is the
120   * above magic number, which includes the file format version number.
121 < * The first longword after the magic number is the position
122 < * of the SECOND holodeck section, or 0 if there is only one.
121 > * The first longword after the magic number is a pointer to the pointer
122 > * just before the SECOND holodeck section, or 0 if there is only one.
123   * This longword is immediately followed by the first holodeck
124   * section header and directory.
125   * Similarly, every holodeck section in the file is preceeded by

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines