History

Fix non self-sufficient headers

Clement committed 8 years ago

Commit da9fb9c1 parent ec35462263 files · +629 −600Browse files

Showing the changes to libraries/script-engine/src/Vec3.cpp (1 of 263 files). Show all

Unified · Split

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