ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cal/cal/bezier.cal
Revision: 1.2
Committed: Thu Nov 16 00:28:05 2006 UTC (17 years, 7 months ago) by greg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
State: FILE REMOVED
Log Message:
Redundant with cubic.cal

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 ;