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-11-18 14:00:45 +0300
committerJacques Lucke <jacques@blender.org>2020-12-02 17:38:47 +0300
commitd65628466a35682f6bb80def6835abee3766ff1b (patch)
treec3c244df932278599113231fddd4a107451877ed /source/blender/functions
parent8268b9827a4f344e1a9414a7fb33e02ccaed95c1 (diff)
Functions: add float2 cpp type
This also adds a hash function for `float2`, because `CPPType` expects that currently.
Diffstat (limited to 'source/blender/functions')
-rw-r--r--source/blender/functions/intern/cpp_types.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/functions/intern/cpp_types.cc b/source/blender/functions/intern/cpp_types.cc
index 3bf4683d815..35d93f997cb 100644
--- a/source/blender/functions/intern/cpp_types.cc
+++ b/source/blender/functions/intern/cpp_types.cc
@@ -26,6 +26,7 @@ namespace blender::fn {
MAKE_CPP_TYPE(bool, bool)
MAKE_CPP_TYPE(float, float)
+MAKE_CPP_TYPE(float2, blender::float2)
MAKE_CPP_TYPE(float3, blender::float3)
MAKE_CPP_TYPE(float4x4, blender::float4x4)