The special case handling in glm::qua::pow is specifically intended for the case when the magnitude is null. Even for magnitudes smaller than epsilon, the common formula should be used. Because comparing a floating-point value by equality triggers a warning through the -Weveverything setting of clang, it must be selectively disabled for the condition.master
parent
dc2a00e3a8
commit
d6d272e9a0
1 changed files with 5 additions and 1 deletions
Loading…
Reference in New Issue