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

Seting default color for NaN in addScalarQuantity #297

Open
berendbaas opened this issue Sep 12, 2024 · 0 comments
Open

Seting default color for NaN in addScalarQuantity #297

berendbaas opened this issue Sep 12, 2024 · 0 comments

Comments

@berendbaas
Copy link

berendbaas commented Sep 12, 2024

While debugging scalar quantities, I find myself often overlooking NaN values, because as it stands, they (seem to) get mapped to zero. It'd be nice if we could specify the color that NaN values should map to, so they're easier to distinguish. perhaps as an extra optional<glm::vec3> argument (if empty, default to current behaviour) argument would help.

@berendbaas berendbaas changed the title Seting default color for NaN/inf in addScalarQuantity Seting default color for NaN in addScalarQuantity Sep 12, 2024
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