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

Comparing ray/src/hd/rhdobj.h (file contents):
Revision 3.1 by gwlarson, Wed Aug 19 17:45:24 1998 UTC vs.
Revision 3.3 by gwlarson, Thu Aug 27 19:33:28 1998 UTC

# Line 21 | Line 21
21   #define DO_NCMDS        10              /* number of object display commands */
22  
23                                          /* commands entered on stdin only */
24 < #define DO_INIT         {"load","unload","xform","move","unmove","dup",\
24 > #define DO_INIT         {"load","clear","xform","move","unmove","dup",\
25                                  "show","light","hide","object"}
26  
27   /*******************************************************************
# Line 50 | Line 50 | be printed with error(COMMAND,err).
50  
51  
52   double
53 < dobj_trace(rorg, rdir)          : check for ray intersection with objects
53 > dobj_trace(nm, rorg, rdir)      : check for ray intersection with objects
54 > char    nm[];                   : object name (modified)
55   FVECT   rorg, rdir;             : ray origin and direction
56  
57 < Check to see if the given ray intersects any of the visible objects,
57 > Check to see if the given ray intersects the given object,
58   returning the distance the ray traveled if it did, or FHUGE if it didn't.
59 + If nm contains "*", then all visible objects are checked and the name
60 + of the intersected object is returned, or "" if none.  If nm is NULL,
61 + then all visible objects are checked, but the name is not returned.
62  
63  
64   void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines