dilevin / computer-graphics-kinematics

Computer Graphics Assignment about Kinematics
3 stars 4 forks source link

Catmull tangent when index+2 doesn't exist #29

Open JasonLeeUT opened 4 years ago

JasonLeeUT commented 4 years ago

mk = (theta k+1 - theta k)/(tk+1 - tk) what if k+1 exceed the size? should we set mk as 0 or mk = mk-1 ?

honglin-c commented 4 years ago

I think both should be fine here.