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

[gf] make vec*.h use GfSqrt instead of sqrt #2060

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

pmolodo
Copy link
Contributor

@pmolodo pmolodo commented Oct 11, 2022

Description of Change(s)

with gcc, at least, this avoids using a double for vec3f::GetLength, which avoids a compiler warning when using -Wconversion

Fixes Issue(s)

  • warning when using -Wconversion flag on gcc

  • I have submitted a signed Contributor License Agreement

@tallytalwar
Copy link
Contributor

Filed as internal issue #USD-7707

pxr/base/gf/vec.template.h Outdated Show resolved Hide resolved
with gcc, at least, this avoids using a double for vec3f::GetLength,
which avoids a compiler warning when using -Wconversion
@pixar-oss pixar-oss merged commit df9ddb0 into PixarAnimationStudios:dev Dec 9, 2022
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.

4 participants