forked from bartvdbraak/blender
Code cleanup: rename BLI_math_easing to BLI_easing
Many hard coded values and really specific to time & keyframes.
This commit is contained in:
parent
b701c92588
commit
673b665471
@ -45,7 +45,7 @@
|
||||
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_math_easing.h"
|
||||
#include "BLI_easing.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
|
@ -28,10 +28,10 @@
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef __BLI_MATH_EASING_H__
|
||||
#define __BLI_MATH_EASING_H__
|
||||
#ifndef __BLI_EASING_H__
|
||||
#define __BLI_EASING_H__
|
||||
|
||||
/** \file BLI_math_easing.h
|
||||
/** \file BLI_easing.h
|
||||
* \ingroup bli
|
||||
*/
|
||||
|
||||
@ -75,4 +75,4 @@ float SineEaseInOut(float time, float begin, float change, float duration);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // __BLI_MATH_EASING_H__
|
||||
#endif /* __BLI_EASING_H__ */
|
@ -57,6 +57,7 @@ set(SRC
|
||||
intern/convexhull2d.c
|
||||
intern/cpu.c
|
||||
intern/dynlib.c
|
||||
intern/easing.c
|
||||
intern/edgehash.c
|
||||
intern/endian_switch.c
|
||||
intern/fileops.c
|
||||
@ -72,7 +73,6 @@ set(SRC
|
||||
intern/math_color.c
|
||||
intern/math_color_blend_inline.c
|
||||
intern/math_color_inline.c
|
||||
intern/math_easing.c
|
||||
intern/math_geom.c
|
||||
intern/math_geom_inline.c
|
||||
intern/math_interp.c
|
||||
@ -121,6 +121,7 @@ set(SRC
|
||||
BLI_dlrbTree.h
|
||||
BLI_dynlib.h
|
||||
BLI_dynstr.h
|
||||
BLI_easing.h
|
||||
BLI_edgehash.h
|
||||
BLI_endian_switch.h
|
||||
BLI_endian_switch_inline.h
|
||||
@ -142,7 +143,6 @@ set(SRC
|
||||
BLI_math_base.h
|
||||
BLI_math_color.h
|
||||
BLI_math_color_blend.h
|
||||
BLI_math_easing.h
|
||||
BLI_math_geom.h
|
||||
BLI_math_inline.h
|
||||
BLI_math_interp.h
|
||||
|
@ -28,15 +28,17 @@
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/** \file blender/blenlib/intern/math_easing.c
|
||||
/** \file blender/blenlib/intern/easing.c
|
||||
* \ingroup bli
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_math_easing.h"
|
||||
#include "BLI_math_base.h"
|
||||
|
||||
#include "BLI_easing.h" /* own include */
|
||||
|
||||
#include "BLI_strict_flags.h"
|
||||
|
||||
|
||||
float BackEaseIn(float time, float begin, float change, float duration, float overshoot)
|
Loading…
Reference in New Issue
Block a user