ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
Download File
|
Root Listing
root
/
radiance
/
ray
/
src
/
cal
/
cal
/
clamp.cal
Revision:
1.2
Committed:
Wed Nov 21 18:10:45 2018 UTC
(5 years, 6 months ago) by
greg
Branch:
MAIN
CVS Tags:
rad5R4, rad5R3, HEAD
Changes since
1.1
:
+1 -0 lines
Log Message:
Added missing RCSid tag
File Contents
#
Content
1
{ RCSid $Id$ }
2
{
3
Map values from 0 to inf softly from 0 to 1
4
}
5
clamp(x) = x/2 * (sqrt(x*x+4) - x);