ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cal/cal/bezier.cal
Revision: 1.1
Committed: Sat Feb 22 02:07:21 2003 UTC (21 years, 2 months ago) by greg
Branch: MAIN
CVS Tags: rad3R7P1, rad3R7P2, rad3R5, rad3R6, rad3R8, rad3R6P1
Log Message:
Changes and check-in for 3.5 release
Includes new source files and modifications not recorded for many years
See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release

File Contents

# Content
1 {
2 Cubic Bezier Interpolating Function
3
4 02Mar90
5 }
6 bezier(p1, p2, p3, p4, t) = p1 * (1+t*(-3+t*(3-t))) +
7 p2 * 3*t*(1+t*(-2+t)) +
8 p3 * 3*t*t*(1-t) +
9 p4 * t*t*t ;