mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 10:08:46 +02:00
Merge branch 'master' of https://github.com/highfidelity/hifi into red
This commit is contained in:
commit
67929a018c
1 changed files with 2 additions and 2 deletions
|
@ -435,8 +435,8 @@ void generateBasisVectors(const glm::vec3& primaryAxis, const glm::vec3& seconda
|
|||
#ifndef NDEBUG
|
||||
const float MIN_LENGTH_SQUARED = 1.0e-6f;
|
||||
#endif
|
||||
assert(fabsf(glm::length2(primaryAxis) > MIN_LENGTH_SQUARED));
|
||||
assert(fabsf(glm::length2(secondaryAxis) > MIN_LENGTH_SQUARED));
|
||||
assert(glm::length2(primaryAxis) > MIN_LENGTH_SQUARED);
|
||||
assert(glm::length2(secondaryAxis) > MIN_LENGTH_SQUARED);
|
||||
|
||||
uAxisOut = glm::normalize(primaryAxis);
|
||||
glm::vec3 normSecondary = glm::normalize(secondaryAxis);
|
||||
|
|
Loading…
Reference in a new issue