Small readability improvements

This commit is contained in:
OpenSceneGraph git repository 2017-11-11 12:45:55 +00:00 committed by GitHub
parent 8ee8550aac
commit a5f6e4b0c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ namespace osgAnimation
void cullInfluenceCountPerVertex(unsigned int maxnumbonepervertex, float minweight=0, bool renormalize=true); void cullInfluenceCountPerVertex(unsigned int maxnumbonepervertex, float minweight=0, bool renormalize=true);
//compute PerVertexInfluenceList //compute PerVertexInfluenceList
void computePerVertexInfluenceList(std::vector<BoneWeightList>& perVertexInfluenceList, unsigned int numvert)const; void computePerVertexInfluenceList(std::vector<BoneWeightList>& perVertexInfluenceList, unsigned int numvert) const;
/// map a set of boneinfluence to a list of vertex indices sharing this set /// map a set of boneinfluence to a list of vertex indices sharing this set
class VertexGroup: public std::pair<BoneWeightList, IndexList> class VertexGroup: public std::pair<BoneWeightList, IndexList>
@ -77,7 +77,7 @@ namespace osgAnimation
}; };
/// compute the minimal VertexGroup Set in which vertices shares the same influence set /// compute the minimal VertexGroup Set in which vertices shares the same influence set
void computeMinimalVertexGroupList(std::vector<VertexGroup>&uniqVertexGroupList, unsigned int numvert)const; void computeMinimalVertexGroupList(std::vector<VertexGroup>&uniqVertexGroupList, unsigned int numvert) const;
//Experimental removal of unexpressed bone from the skeleton //Experimental removal of unexpressed bone from the skeleton
void removeUnexpressedBones(Skeleton &skel) const; void removeUnexpressedBones(Skeleton &skel) const;