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:
authorJacques Lucke <jacques@blender.org>2020-07-25 15:51:15 +0300
committerJacques Lucke <jacques@blender.org>2020-07-25 15:51:15 +0300
commit0ae2a1d12affc382d9fef8aff0703bea891fa0fb (patch)
tree4d868840e7e84c2deb4b1b9d71ea44e550df7944 /source/blender/blenlib/BLI_float4x4.hh
parentd52e45c89e24af3751c286eb43791fa17636569a (diff)
Particles: improve emitter when object is animated
Diffstat (limited to 'source/blender/blenlib/BLI_float4x4.hh')
-rw-r--r--source/blender/blenlib/BLI_float4x4.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_float4x4.hh b/source/blender/blenlib/BLI_float4x4.hh
index 5698d06f05d..b4f12f17cc2 100644
--- a/source/blender/blenlib/BLI_float4x4.hh
+++ b/source/blender/blenlib/BLI_float4x4.hh
@@ -93,6 +93,11 @@ struct float4x4 {
return result;
}
+ float4x4 inverted_transposed_affine() const
+ {
+ return this->inverted_affine().transposed();
+ }
+
struct float3x3_ref {
const float4x4 &data;