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:
authorAlexander Gavrilov <angavrilov@gmail.com>2020-07-04 13:20:59 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2020-07-21 19:01:50 +0300
commitf8cc01595d1181b9a8adcb6aa930d4cbfebdc8bf (patch)
tree881dd5079bb2e7d674980a5e80d3ea7d16dd8375 /source/blender/editors/transform/transform_mode_translate.c
parent8369adabc0ec7a1fce248b688bf20860ae0434bb (diff)
Drivers: add lerp and clamp functions to namespace.
Implementation of lerp without a function requires repeating one of the arguments, which is not ideal. To avoid that, add a new function to the driver namespace. In addition, provide a function for clamping between 0 and 1 to support easy clamped lerp, and a smoothstep function from GLSL that is somewhat related. The function implementations are added to a new bl_math module. As an aside, add the round function and two-argument log to the pylike expression subset. Differential Revision: https://developer.blender.org/D8205
Diffstat (limited to 'source/blender/editors/transform/transform_mode_translate.c')
0 files changed, 0 insertions, 0 deletions