Skip to content

isfinite support for quaternions#1352

Merged
christophe-lunarg merged 3 commits intog-truc:masterfrom
alusch:quat-isfinite
Oct 12, 2025
Merged

isfinite support for quaternions#1352
christophe-lunarg merged 3 commits intog-truc:masterfrom
alusch:quat-isfinite

Conversation

@alusch
Copy link
Copy Markdown

@alusch alusch commented Mar 21, 2025

Add isfinite support for quaterions to gtx/compatibility.hpp. It was already pulling in gtc/quaternion.hpp as a dependency, so no changes there.

Update the tests to cover quaternions and also negative cases (NaN and +/- Inf) based on similar tests for isnan and isinf in core_func_common.cpp.

@christophe-lunarg
Copy link
Copy Markdown

Thanks for contributing!

@christophe-lunarg christophe-lunarg merged commit 7e4b80e into g-truc:master Oct 12, 2025
68 checks passed
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

Successfully merging this pull request may close these issues.

2 participants