From d65628466a35682f6bb80def6835abee3766ff1b Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Wed, 18 Nov 2020 12:00:45 +0100 Subject: Functions: add float2 cpp type This also adds a hash function for `float2`, because `CPPType` expects that currently. --- source/blender/functions/intern/cpp_types.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/functions/intern/cpp_types.cc') 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) -- cgit v1.2.3