All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CL_Support.h File Reference
#include "CL_API.h"
#include <SYS/SYS_Math.h>
#include <SYS/SYS_Types.h>
#include <UT/UT_Assert.h>
+ Include dependency graph for CL_Support.h:

Go to the source code of this file.


#define CL_SUPPORT_ISZERO(x)   ((x) > -0.00001 && (x) < 0.00001)
#define CL_SUPPORT_LERP(weight)   (iv + (ov - iv)*weight)


CL_API void CLstretchSlopeAccel (fpreal xscale, fpreal yscale, fpreal &slope, fpreal &accel, bool accel_ratio)

Macro Definition Documentation

#define CL_SUPPORT_ISZERO (   x)    ((x) > -0.00001 && (x) < 0.00001)

Definition at line 20 of file CL_Support.h.

#define CL_SUPPORT_LERP (   weight)    (iv + (ov - iv)*weight)

Definition at line 21 of file CL_Support.h.

Function Documentation

CL_API void CLstretchSlopeAccel ( fpreal  xscale,
fpreal  yscale,
fpreal slope,
fpreal accel,
bool  accel_ratio