Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/BLI_float4x4.hh')
-rw-r--r--source/blender/blenlib/BLI_float4x4.hh5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_float4x4.hh b/source/blender/blenlib/BLI_float4x4.hh
index 81c969d02d0..b7f839f4ddf 100644
--- a/source/blender/blenlib/BLI_float4x4.hh
+++ b/source/blender/blenlib/BLI_float4x4.hh
@@ -16,9 +16,8 @@
#pragma once
+#include "BLI_float3.hh"
#include "BLI_math_matrix.h"
-#include "BLI_math_vec_types.hh"
-#include "BLI_math_vector.h"
namespace blender {
@@ -64,7 +63,7 @@ struct float4x4 {
* Without the negation, the result would be a so called improper rotation. That means it
* contains a reflection. Such an improper rotation matrix could not be converted to another
* representation of a rotation such as euler angles. */
- const float3 cross = -math::cross(forward, up);
+ const float3 cross = -float3::cross(forward, up);
float4x4 matrix;
matrix.values[0][0] = forward.x;