mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
whitespace
This commit is contained in:
parent
226855b2b9
commit
b9bf6f4c05
1 changed files with 1 additions and 1 deletions
|
@ -540,7 +540,7 @@ void generateBasisVectors(const glm::vec3& primaryAxis, const glm::vec3& seconda
|
|||
|
||||
// if secondaryAxis is parallel with the primaryAxis, pick another axis.
|
||||
const float EPSILON = 1.0e-4f;
|
||||
if (fabsf(fabsf(glm::dot(uAxisOut, secondaryAxis)) - 1.0f) > EPSILON) {
|
||||
if (fabsf(fabsf(glm::dot(uAxisOut, secondaryAxis)) - 1.0f) > EPSILON) {
|
||||
// pick a better secondaryAxis.
|
||||
normSecondary = glm::vec3(1.0f, 0.0f, 0.0f);
|
||||
if (fabsf(fabsf(glm::dot(uAxisOut, secondaryAxis)) - 1.0f) > EPSILON) {
|
||||
|
|
Loading…
Reference in a new issue