[Gcblue-commits] gcb_wx/include/graphics tc3DModel.h,1.2,1.3
Status: Alpha
Brought to you by:
ddcforge
From: <ddc...@us...> - 2004-01-16 00:04:16
|
Update of /cvsroot/gcblue/gcb_wx/include/graphics In directory sc8-pr-cvs1:/tmp/cvs-serv26093/include/graphics Modified Files: tc3DModel.h Log Message: animation Index: tc3DModel.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/graphics/tc3DModel.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** tc3DModel.h 14 Jan 2004 01:13:21 -0000 1.2 --- tc3DModel.h 16 Jan 2004 00:04:13 -0000 1.3 *************** *** 45,50 **** osg::Vec3 axis; float omega; ///< radians per second ! void *switchVariable; ///< rotate if *switchVariable is non-zero osg::MatrixTransform* transform; ///< transform to rotate }; --- 45,53 ---- osg::Vec3 axis; float omega; ///< radians per second ! int *switchVariable; ///< rotate if switchVariable is NULL or *switchVariable is non-zero ! float *controlVariable; osg::MatrixTransform* transform; ///< transform to rotate + int animationType; ///< 0 - propeller, 1 - sensor mast + int param; ///< sensor number }; *************** *** 67,70 **** --- 70,74 ---- void Load(std::string model_name); void ProcessAnimations(std::vector<animationDBInfo>& animDBInfo); + void SetupAnimation(tcGameObject *obj); void SetupUpdate(tcGameObject *obj); |