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.4 by gwlarson, Fri Dec 18 11:06:46 1998 UTC vs.
Revision 3.7 by schorsch, Mon Jul 14 22:24:00 2003 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1998 Silicon Graphics, Inc. */
2 <
3 < /* SCCSid "$SunId$ SGI" */
4 <
1 > /* RCSid: $Id$ */
2   /*
3   * Header file for object display routines for rholo drivers.
4   */
5 + #ifndef _RAD_RHDOBJ_H_
6 + #define _RAD_RHDOBJ_H_
7  
8 + #ifdef __cplusplus
9 + extern "C" {
10 + #endif
11 +
12                                  /* additional user commands */
13   #define DO_LOAD         0               /* load octree object */
14   #define DO_UNLOAD       1               /* unload (free) octree object */
# Line 44 | Line 47 | int
47   dobj_command(cmd, args)         : check/run object display command
48   char    *cmd, *args;            : command name and argument string
49  
50 < Check to see if this is an object display command, and return the command
51 < number after running it if it is, or -1 if it isn't.  Error messages should
50 > Check to see if this is an object display command, and return -1 if
51 > it isn't.  If it is a valid command that results in some visible
52 > change, return non-zero, otherwise return 0.  Error messages should
53   be printed with error(COMMAND,err).
54  
55  
# Line 150 | Line 154 | extern double  dobj_trace();
154   extern char     rhdcmd[DO_NCMDS][8];
155  
156   extern int      (*dobj_lightsamp)();    /* pointer to function to get lights */
157 +
158 + #ifdef __cplusplus
159 + }
160 + #endif
161 + #endif /* _RAD_RHDOBJ_H_ */
162 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines