Get the latest Blender, older versions, or experimental builds.
Stay up-to-date with the new features in the latest Blender releases.
Access production assets and knowledge from the open movies.
Documentation on the usage and features in Blender.
Latest development updates, by Blender developers.
Guidelines, release notes and development docs.
A platform to collect and share results of the Blender Benchmark.
The yearly event that brings the community together.
Support core development with a monthly contribution.
Perform a single donation with more payment options available.
#ifndef INTERPOLATOR_H
#define INTERPOLATOR_H
#include "solid_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
DT_DECLARE_HANDLE(IP_IpoHandle);
typedef struct IP_ControlPoint {
DT_Scalar m_key;
DT_Scalar m_keyValue;
} IP_ControlPoint;
IP_IpoHandle IP_CreateLinear(const IP_ControlPoint *cpoints, int num_cpoints);
void IP_DeleteInterpolator(IP_IpoHandle ipo);
DT_Scalar IP_GetValue(IP_IpoHandle ipo, DT_Scalar key);
}