ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/falsecolor.csh
(Generate patch)

Comparing ray/src/px/falsecolor.csh (file contents):
Revision 2.1 by greg, Tue Nov 12 16:05:47 1991 UTC vs.
Revision 2.2 by greg, Mon Apr 6 17:54:11 1992 UTC

# Line 90 | Line 90 | neq(a,b) : if(a-b-EPS,1,b-a-EPS);
90   btwn(a,x,b) : if(a-x,-1,b-x);
91   clip(x) : if(x-1,1,if(x,x,0));
92   frac(x) : x - floor(x);
93 < boundary(a,b) : neq(floor(ndivs*a),floor(ndivs*b));
93 > boundary(a,b) : neq(floor(ndivs*a+.5),floor(ndivs*b+.5));
94  
95   isconta = if(btwn(0,v,1),or(boundary(vleft,vright),boundary(vabove,vbelow)),-1);
96   iscontb = if(btwn(0,v,1),btwn(.4,frac(ndivs*v),.6),-1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines