diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-04-04 15:05:24 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-04-04 15:12:33 +0300 |
commit | a818a0f42793a2ad27daf6e4ee6cc2210b12567d (patch) | |
tree | 9c80176cd3551364026bd4d94d4ff6079021879d /source/blender/blenlib/BLI_math_vec_types.hh | |
parent | 9c2b5900c0add01a6fb0cbef234c78eb04ec9ff4 (diff) |
BlenLib: Add ushort2 to math vec types.
Needed for the 3d texturing brush project.
Diffstat (limited to 'source/blender/blenlib/BLI_math_vec_types.hh')
-rw-r--r-- | source/blender/blenlib/BLI_math_vec_types.hh | 2 |
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>; |