diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-08-02 21:33:33 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-08-02 22:53:17 +0300 |
commit | 35762cea91fde354ceaf7b00d42410499e0f154a (patch) | |
tree | 884f8003e8e9113d0fb8705c18bc73be5e1e5f68 /source/blender/gpu/GPU_vertex_format.h | |
parent | 8a0f804e2bebbd6ea26fc601c67c51e6e9653d90 (diff) |
DRW: common_math_lib.glsl: Fix weighted_sum macro
This avoids issue when the macro is followed by another operator.
Example:
`float result = weighted_sum(a,b,c,d,w) * 5.0;`
Diffstat (limited to 'source/blender/gpu/GPU_vertex_format.h')
0 files changed, 0 insertions, 0 deletions