Showing the changes to libraries/script-engine/src/Vec3.cpp (1 of 263 files). Show all
Unified · Split
| @@ -9,6 +9,8 @@ · 8 unmodified lines | ||
| 9 | 9 | // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html |
| 10 | 10 | // |
| 11 | 11 | |
| 12 | +#include "Vec3.h" | |
| 13 | + | |
| 12 | 14 | #include <glm/gtx/vector_angle.hpp> |
| 13 | 15 | |
| 14 | 16 | #include <QDebug> |
| @@ -16,11 +18,10 @@ · 1 unmodified line | ||
| 16 | 18 | #include <GLMHelpers.h> |
| 17 | 19 | #include <glm/gtx/string_cast.hpp> |
| 18 | 20 | |
| 19 | −#include "ScriptEngineLogging.h" | |
| 20 | 21 | #include "NumericalConstants.h" |
| 21 | −#include "Vec3.h" | |
| 22 | − | |
| 23 | 22 | #include "ScriptEngine.h" |
| 23 | +#include "ScriptEngineLogging.h" | |
| 24 | + | |
| 24 | 25 | |
| 25 | 26 | float Vec3::orientedAngle(const glm::vec3& v1, const glm::vec3& v2, const glm::vec3& v3) { |
| 26 | 27 | float radians = glm::orientedAngle(glm::normalize(v1), glm::normalize(v2), glm::normalize(v3)); |