summaryrefslogtreecommitdiff
path: root/graphics/blender/patches/patch-extern_solid_include_MT_Quaternion.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/blender/patches/patch-extern_solid_include_MT_Quaternion.h')
-rw-r--r--graphics/blender/patches/patch-extern_solid_include_MT_Quaternion.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/blender/patches/patch-extern_solid_include_MT_Quaternion.h b/graphics/blender/patches/patch-extern_solid_include_MT_Quaternion.h
new file mode 100644
index 00000000000..52ddfb45889
--- /dev/null
+++ b/graphics/blender/patches/patch-extern_solid_include_MT_Quaternion.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-extern_solid_include_MT_Quaternion.h,v 1.1 2012/07/03 18:10:03 joerg Exp $
+
+--- extern/solid/include/MT/Quaternion.h.orig 2012-07-03 13:16:43.000000000 +0000
++++ extern/solid/include/MT/Quaternion.h
+@@ -158,7 +158,7 @@ namespace MT {
+
+ Quaternion<Scalar> inverse() const
+ {
+- return conjugate / length2();
++ return conjugate() / length2();
+ }
+
+ Quaternion<Scalar> slerp(const Quaternion<Scalar>& q, const Scalar& t) const