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

Comparing ray/src/cal/cal/hermite.cal (file contents):
Revision 1.1 by greg, Sat Feb 22 02:07:21 2003 UTC vs.
Revision 1.2 by greg, Mon Oct 1 19:53:38 2012 UTC

# Line 1 | Line 1
1 < hermite(p0,p1,r0,r1,t) =        p0 * ((2*t-3)*t*t+1) +
1 > { RCSid $Id$ }
2 > { Hermite spline function }
3 >
4 > hermite(p0,p1,r0,r1,t) :        p0 * ((2*t-3)*t*t+1) +
5                                  p1 * (-2*t+3)*t*t +
6                                  r0 * (((t-2)*t+1)*t) +
7                                  r1 * ((t-1)*t*t);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines