Sources/CcgDump/CrySkinMorphBuilder.cpp
// fills in the group of aux ints for the given bone (the smooth vertex group)
// returns the pointer to the next available auxint after the group

fills in the group of aux ints for the given bone (the smooth vertex group)
returns the pointer to the next available auxint after the group
fills in the group of aux ints for the given bone ( the smooth vertex group ) returns the pointer to the next available auxint after the group
void CrySkinMorphBuilder::fillSmoothGroup (CrySkinStreams& streams, unsigned nBone)
{
	CrySkinSmoothVertexArray& arrSmooth = m_arrBoneVerts[nBone].arrSmooth;
	*streams.pAux++ = (CrySkinAuxInt)arrSmooth.size();
	CrySkinSmoothVertexArray::const_iterator it = arrSmooth.begin(), itEnd = it + arrSmooth.size();
  for (; it != itEnd; ++it)
	{
		it->build (*streams.pVert++);
		*streams.pAux++ = it->nDest;
	}
}
void CrySkinMorphBuilder :: fillSmoothGroup ( CrySkinStreams & streams , unsigned nBone ) { CrySkinSmoothVertexArray & arrSmooth = m_arrBoneVerts [ nBone ] . arrSmooth ; * streams . pAux ++ = ( CrySkinAuxInt ) arrSmooth . size ( ) ; CrySkinSmoothVertexArray :: const_iterator it = arrSmooth . begin ( ) , itEnd = it + arrSmooth . size ( ) ; for ( ; it != itEnd ; ++ it ) { it -> build ( * streams . pVert ++ ) ; * streams . pAux ++ = it -> nDest ; } }
fills in the group of aux ints for the given bone (the smooth vertex group)
returns the pointer to the next available auxint after the group
fills in the group of aux ints for the given bone ( the smooth vertex group ) returns the pointer to the next available auxint after the group
// the group starts with the number of rigid vertices belonging to this bone
