ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/dircode.c
(Generate patch)

Comparing ray/src/common/dircode.c (file contents):
Revision 2.9 by greg, Tue May 14 17:21:50 2019 UTC vs.
Revision 2.10 by greg, Tue Aug 27 23:51:23 2019 UTC

# Line 112 | Line 112 | dir2diff(int32 dc1, int32 dc2) /* approx. radians^2 be
112   {
113          FVECT   v1, v2;
114  
115 +        if (dc1 == dc2)
116 +                return 0.;
117 +
118          decodedir(v1, dc1);
119          decodedir(v2, dc2);
120  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines