diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-02-17 03:47:18 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-02-17 18:26:24 +0300 |
commit | 68dd7617d705dd255b29b99074afa107ce38031e (patch) | |
tree | 1e253ab76b87e7f22a09db2f1137db3a1b8ecb6c /intern/cycles/subd | |
parent | 8119f0aad21c3ce88e82d68ed20cd5a8edc99703 (diff) |
Cycles: add utility functions for zero float2/float3/float4/transform
Ref D8237, T78710
Diffstat (limited to 'intern/cycles/subd')
-rw-r--r-- | intern/cycles/subd/subd_subpatch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/subd/subd_subpatch.h b/intern/cycles/subd/subd_subpatch.h index 1a32b763cb8..cdaa310916a 100644 --- a/intern/cycles/subd/subd_subpatch.h +++ b/intern/cycles/subd/subd_subpatch.h @@ -68,9 +68,9 @@ class Subpatch { explicit Subpatch(Patch *patch = nullptr) : patch(patch), - c00(make_float2(0.0f, 0.0f)), + c00(zero_float2()), c01(make_float2(0.0f, 1.0f)), - c11(make_float2(1.0f, 1.0f)), + c11(one_float2()), c10(make_float2(1.0f, 0.0f)) { } |