Math Lib: Add non-clamped round_* functions
authorCampbell Barton <ideasman42@gmail.com>
Wed, 27 Sep 2017 01:13:03 +0000 (11:13 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 27 Sep 2017 01:13:03 +0000 (11:13 +1000)
commit43b49130516db974c125d89919fe8ddc25cf4405
tree0ed06e3090a10ef20ea4682edd2c3b61f5937624
parent870dfb1b5aac1c5c4dbcce0f8318c11d229bf3ac
Math Lib: Add non-clamped round_* functions

Replace iroundf with round_fl_to_int, add other types
23 files changed:
source/blender/blenlib/BLI_math_base.h
source/blender/blenlib/intern/math_base_inline.c
source/blender/blenlib/intern/timecode.c
source/blender/editors/animation/anim_channels_defines.c
source/blender/editors/animation/anim_markers.c
source/blender/editors/animation/anim_ops.c
source/blender/editors/armature/pose_slide.c
source/blender/editors/gpencil/drawgpencil.c
source/blender/editors/interface/interface_handlers.c
source/blender/editors/interface/interface_panel.c
source/blender/editors/interface/interface_templates.c
source/blender/editors/space_action/action_edit.c
source/blender/editors/space_clip/clip_ops.c
source/blender/editors/space_graph/graph_edit.c
source/blender/editors/space_graph/graph_ops.c
source/blender/editors/space_image/image_ops.c
source/blender/editors/space_nla/nla_edit.c
source/blender/editors/space_node/node_draw.c
source/blender/editors/transform/transform_conversions.c
source/blender/editors/transform/transform_snap.c
source/blender/modifiers/intern/MOD_meshcache_util.c
source/blender/render/intern/source/imagetexture.c
source/blender/windowmanager/intern/wm_gesture.c