Skip to content
New issue

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

Unprecise description of gradient input for interpolate_gradient #119

Open
yzobus opened this issue Nov 15, 2024 · 0 comments
Open

Unprecise description of gradient input for interpolate_gradient #119

yzobus opened this issue Nov 15, 2024 · 0 comments

Comments

@yzobus
Copy link

yzobus commented Nov 15, 2024

To use interpolate_gradient each vertex must have a height and a gradient defined. However, it is unclear what input is expected for the gradient, as the function only accepts [f64; 2]. From this, it certainly cannot be a 3d normal vector of each vertex.
It would be helpful to have a more precise description or an example with a non-default value of [0.,0.].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant