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

Comparing ray/src/cv/mgflib/mgfdoc.tr (file contents):
Revision 1.3 by greg, Mon May 15 14:42:30 1995 UTC vs.
Revision 1.4 by greg, Thu Jun 29 14:40:18 1995 UTC

# Line 746 | Line 746 | o door
746          o
747   o
748  
749        i cubfurn.inc -mx -t 405 133.5 0
750 o
751
749   # Six file cabinets (36" wide each)
750   # ("filecab.inc" was given as an earlier example in Section 1.2)
751   o filecab.x
# Line 3123 | Line 3120 | following:
3120   #define MG_E_CMIX               4               /* cmix */
3121   #define MG_E_CSPEC              5               /* cspec        */
3122   #define MG_E_CXY                6               /* cxy          */
3123 < #define MG_E_CYL                7               /* cyl  */
3123 > #define MG_E_CYL                7               /* cyl          */
3124   #define MG_E_ED         8               /* ed           */
3125   #define MG_E_FACE               9               /* f            */
3126   #define MG_E_INCLUDE    10              /* i            */
# Line 3268 | Line 3265 | and return one of the non-zero values from "parser.h"
3265   #define MG_EUNK         1               /* unknown entity */
3266   #define MG_EARGC                2               /* wrong number of arguments */
3267   #define MG_ETYPE                3               /* argument type error */
3268 < #define MG_EILL                 4               /* illegal argument value */
3268 > #define MG_EILL                         4               /* illegal argument value */
3269   #define MG_EUNDEF               5               /* undefined reference */
3270   #define MG_ENOFILE              6               /* cannot open input file */
3271   #define MG_EINCL                7               /* error in included file */
# Line 3290 | Line 3287 | listed above in the native country's language.
3287   .SH
3288   SEE ALSO
3289   .LP
3290 < mg_fgetpos, mg_handle, mg_init
3290 > mg_fgetpos, mg_handle, mg_init, mg_open
3291   .ds RH MG_OPEN
3292   .bp
3293   .SH
# Line 4489 | Line 4486 | and adopt the following code to convert between CIE an
4486   #define  CIE_y_w                0.3333
4487   #endif
4488  
4489 < #define CIE_D           (       CIE_x_r*(CIE_y_g - CIE_y_b) + \\\\
4490 <                                CIE_x_g*(CIE_y_b - CIE_y_r) + \\\\
4489 > #define CIE_D           (       CIE_x_r*(CIE_y_g - CIE_y_b) + \\
4490 >                                CIE_x_g*(CIE_y_b - CIE_y_r) + \\
4491                                  CIE_x_b*(CIE_y_r - CIE_y_g)     )
4492 < #define CIE_C_rD        ( (1./CIE_y_w) * \\\\
4493 <                                ( CIE_x_w*(CIE_y_g - CIE_y_b) - \\\\
4494 <                                  CIE_y_w*(CIE_x_g - CIE_x_b) + \\\\
4492 > #define CIE_C_rD        ( (1./CIE_y_w) * \\
4493 >                                ( CIE_x_w*(CIE_y_g - CIE_y_b) - \\
4494 >                                  CIE_y_w*(CIE_x_g - CIE_x_b) + \\
4495                                    CIE_x_g*CIE_y_b - CIE_x_b*CIE_y_g     ) )
4496 < #define CIE_C_gD        ( (1./CIE_y_w) * \\\\
4497 <                                ( CIE_x_w*(CIE_y_b - CIE_y_r) - \\\\
4498 <                                  CIE_y_w*(CIE_x_b - CIE_x_r) - \\\\
4496 > #define CIE_C_gD        ( (1./CIE_y_w) * \\
4497 >                                ( CIE_x_w*(CIE_y_b - CIE_y_r) - \\
4498 >                                  CIE_y_w*(CIE_x_b - CIE_x_r) - \\
4499                                    CIE_x_r*CIE_y_b + CIE_x_b*CIE_y_r     ) )
4500 < #define CIE_C_bD        ( (1./CIE_y_w) * \\\\
4501 <                                ( CIE_x_w*(CIE_y_r - CIE_y_g) - \\\\
4502 <                                  CIE_y_w*(CIE_x_r - CIE_x_g) + \\\\
4500 > #define CIE_C_bD        ( (1./CIE_y_w) * \\
4501 >                                ( CIE_x_w*(CIE_y_r - CIE_y_g) - \\
4502 >                                  CIE_y_w*(CIE_x_r - CIE_x_g) + \\
4503                                    CIE_x_r*CIE_y_g - CIE_x_g*CIE_y_r     ) )
4504  
4505   #define CIE_rf          (CIE_y_r*CIE_C_rD/CIE_D)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines