My Project
ModelUtils.h
1 
2 
3 #ifndef __MODEL_UTILS_H__
4 #define __MODEL_UTILS_H__
5 namespace ParaEngine
6 {
7 struct AnimInfo{
8  int currentAnim;
9  int startFrame;
10  int endFrame;
11  int currentFrame;
12  int blendingStartFrame;
13  int blendingEndFrame;
14  int blendingFrame; // with which frame the current frame is blended
15  float blendingFactor; // [0,1), blendingFrame*(blendingFactor)+(1-blendingFactor)*currentFrame
16  bool update;
17 };
18 
19 
20 //Linear Type (0:don't interpret;1:linear;2:hermite;3:bezier)
21 enum LineType{
22  NOT_INTERP=0,
23  LINEAR,
24  HERMITE,
25  BEZIER
26 };
27 }
28 #endif//__MODEL_UTILS_H__
different physics engine has different winding order.
Definition: EventBinding.h:32
Definition: ModelUtils.h:7