We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/OneLoneCoder/videos/blob/537664947db31529d2d2236deda9105ca19c041c/OneLoneCoder_Splines1.cpp#L72 Looks like this would give me the point at index 1 when I ask for index 0 and https://github.com/OneLoneCoder/videos/blob/537664947db31529d2d2236deda9105ca19c041c/OneLoneCoder_Splines1.cpp#L106 looks like it gives me the gradient at index 1 instead of index 0.
Some thoughts: in GetSplinePoint one could return the first control point if t==0 but I guess there simply is no gradient at the start of the spline?!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/OneLoneCoder/videos/blob/537664947db31529d2d2236deda9105ca19c041c/OneLoneCoder_Splines1.cpp#L72
Looks like this would give me the point at index 1 when I ask for index 0 and
https://github.com/OneLoneCoder/videos/blob/537664947db31529d2d2236deda9105ca19c041c/OneLoneCoder_Splines1.cpp#L106
looks like it gives me the gradient at index 1 instead of index 0.
Some thoughts:
in GetSplinePoint one could return the first control point if t==0 but I guess there simply is no gradient at the start of the spline?!
The text was updated successfully, but these errors were encountered: