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-06-16 17:35:57 +0300
committerJacques Lucke <jacques@blender.org>2020-06-16 17:35:57 +0300
commit4365de38700ccc05f98f601efdde0963de4645c1 (patch)
tree363c884848d5225c9219a2b2a421f52f0bdc281f /source/blender/functions/intern/cpp_types.cc
parentf721308bd0893326c784dc2c2b084521ca3c38b8 (diff)
Functions: Multi Function
This adds the `MultiFunction` type and some smallish utility types that it uses. A `MultiFunction` encapsulates a function that is optimized for throughput by always processing many elements at once. This is an important part of the new particle system, because it allows us to execute user generated node trees for many particles efficiently. Reviewers: brecht Differential Revision: https://developer.blender.org/D8030
Diffstat (limited to 'source/blender/functions/intern/cpp_types.cc')
-rw-r--r--source/blender/functions/intern/cpp_types.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/functions/intern/cpp_types.cc b/source/blender/functions/intern/cpp_types.cc
index 6339250caa5..cb4b065e5bc 100644
--- a/source/blender/functions/intern/cpp_types.cc
+++ b/source/blender/functions/intern/cpp_types.cc
@@ -22,7 +22,7 @@
#include "BLI_float4x4.hh"
namespace blender {
-namespace FN {
+namespace fn {
MAKE_CPP_TYPE(bool, bool)
@@ -39,5 +39,5 @@ MAKE_CPP_TYPE(Color4b, blender::Color4b)
MAKE_CPP_TYPE(string, std::string)
-} // namespace FN
+} // namespace fn
} // namespace blender