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:
authorJeroen Bakker <jeroen@blender.org>2022-04-04 15:05:24 +0300
committerJeroen Bakker <jeroen@blender.org>2022-04-04 15:12:33 +0300
commita818a0f42793a2ad27daf6e4ee6cc2210b12567d (patch)
tree9c80176cd3551364026bd4d94d4ff6079021879d /source/blender/blenlib
parent9c2b5900c0add01a6fb0cbef234c78eb04ec9ff4 (diff)
BlenLib: Add ushort2 to math vec types.
Needed for the 3d texturing brush project.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_math_vec_types.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_vec_types.hh b/source/blender/blenlib/BLI_math_vec_types.hh
index d9524eae746..0850864d86f 100644
--- a/source/blender/blenlib/BLI_math_vec_types.hh
+++ b/source/blender/blenlib/BLI_math_vec_types.hh
@@ -571,6 +571,8 @@ using uint2 = vec_base<uint32_t, 2>;
using uint3 = vec_base<uint32_t, 3>;
using uint4 = vec_base<uint32_t, 4>;
+using ushort2 = vec_base<uint16_t, 2>;
+
using float2 = vec_base<float, 2>;
using float3 = vec_base<float, 3>;
using float4 = vec_base<float, 4>;