/usr/include/crystalspace-2.0/imesh/gmeshskel2.h is in libcrystalspace-dev 2.0+dfsg-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | /*
Copyright (C) 2004 by Hristo Hristov
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef __CS_IMESH_GMESHSKEL2_H__
#define __CS_IMESH_GMESHSKEL2_H__
/**\file
* General mesh object skeletal animation
*/
#include "csutil/scf.h"
#include "imesh/genmesh.h"
/**\addtogroup meshplugins
* @{ */
struct iSkeleton;
class csReversibleTransform;
class csVector2;
class csVector3;
/**
* This interface describes the API for setting up the skeleton animation
* control as implemented by the 'gmeshskelanim' plugin. The objects that
* implement iGenMeshSkeletonControlState also implement this interface.
*/
struct iGenMeshSkeletonControlState : public virtual iBase
{
SCF_INTERFACE(iGenMeshSkeletonControlState, 2, 0, 0);
/**
* Get animated vertices
*/
virtual csVector3 *GetAnimatedVertices() = 0;
/**
* Get animated vertices count
*/
virtual int GetAnimatedVerticesCount() = 0;
/**
* Get animated face normals
*/
virtual csVector3 *GetAnimatedFaceNormals() = 0;
/**
* Get animated face normals count
*/
virtual int GetAnimatedFaceNormalsCount() = 0;
/**
* Get animated vertices normals
*/
virtual csVector3 *GetAnimatedVertNormals() = 0;
/**
* Get animated vertices normals count
*/
virtual int GetAnimatedVertNormalsCount() = 0;
virtual iSkeleton * GetSkeleton() = 0;
};
/** @} */
#endif // __CS_IMESH_GMESHSKEL2_H__
|