forked from bartvdbraak/blender
b9a19f1ea7
(adding) #ifdef HAVE_CONFIG_H #include <config.h> #endif also the Makefile.in's were from previous patch adding the system depend stuff to configure.ac Kent -- mein@cs.umn.edu
32 lines
519 B
C
32 lines
519 B
C
#ifndef INTERPOLATOR_H
|
|
#define INTERPOLATOR_H
|
|
|
|
#include "solid_types.h"
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include <config.h>
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
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);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|