update lab1

This commit is contained in:
2026-01-27 10:06:30 -05:00
parent 4316bc80a9
commit ba73476389
6 changed files with 9 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ def ibezier(inputA):
global num_sample
global curve_degree, is_subdivided # add for bezier
# Compute a point on the Bezier curve at parameter t using de Casteljau's algorithm.
# de Casteljau's algorithm.
# points: list of tuples/lists [(x0,y0), (x1,y1), ...]
# Returns: (x, y) coordinates on the curve
def deCasteljau(points, t):