--- ray/src/common/view.h 1989/02/02 10:34:24 1.1 +++ ray/src/common/view.h 1989/12/10 13:41:08 1.2 @@ -23,6 +23,8 @@ typedef struct { int vresolu; /* vertical resolution */ FVECT vhinc; /* computed horizontal increment */ FVECT vvinc; /* computed vertical increment */ + double vhs2; /* 1.0/DOT(vhinc,vhinc) */ + double vvs2; /* 1.0/DOT(vvinc,vvinc) */ } VIEW; /* view parameters */ extern VIEW stdview;