OPTPiX SpriteStudio SDK
Loading...
Searching...
No Matches
ssInterpolation.h
Go to the documentation of this file.
1#ifndef __SSINTERPOLATION__
2#define __SSINTERPOLATION__
3
4namespace spritestudio6
5{
6
7class SsCurve;
8
11{
12 switch (type)
13 {
16 return true;
17 }
18 return false;
19}
20
22SsVector2 SsInterpolate(SsInterpolationType::_enum ipType, float time, SsVector2 start, SsVector2 end, const SsCurve * curve);
23float SsInterpolate(SsInterpolationType::_enum type, float time, float start, float end, const SsCurve * curve);
24
25
26} // namespace spritestudio6
27
28#endif
曲線補間計算用パラメータ
Definition sstypes.h:355
GLuint GLuint end
Definition glad.h:2963
GLint GLint GLsizei GLint GLenum GLenum type
Definition glad.h:1980
GLuint start
Definition glad.h:2963
_enum
Definition sstypes.h:485
@ bezier
ベジェ
Definition sstypes.h:490
@ hermite
エルミート
Definition sstypes.h:489
Definition ISsEffectRender.h:5
SsPoint2 SsVector2
Definition sstypes.h:198
SsVector2 SsInterpolate(SsInterpolationType::_enum ipType, float time, SsVector2 start, SsVector2 end, const SsCurve *curve)
SsVector2 のメンバ全体の補間
Definition ssInterpolation.cpp:127
bool SsNeedsCurveParams(SsInterpolationType::_enum type)
補間でカーブパラメータが必要なタイプか判定する
Definition ssInterpolation.h:10