Sources/CcgDump/CrySkinBasisBuilder.cpp
//////////////////////////////////////////////////////////////////////////
// sets the destination vertex interval to operate on. Initially, this is infinity.
// The destination vertex interval is the interval within which the destination vertex
// index must lie in order to be skinned. The base of the interval is considered
// vertex 0 in the produced skinner

sets the destination vertex interval to operate on. Initially, this is infinity.
The destination vertex interval is the interval within which the destination vertex
index must lie in order to be skinned. The base of the interval is considered
vertex 0 in the produced skinner
sets the destination vertex interval to operate on . Initially this is infinity . The destination vertex interval is the interval within which the destination vertex index must lie in order to be skinned . The base of the interval is considered vertex 0 in the produced skinner
void CrySkinBasisBuilder::setDestinationInterval (unsigned nBegin, unsigned nEnd)
{
	if (nEnd > m_pGeometry->numExtTangents())
		nEnd = m_pGeometry->numExtTangents();
	if (nBegin < nEnd)
	{
		m_nDestIntervalBegin = nBegin;
		m_nDestIntervalEnd   = nEnd;
		preprocess();
		makeBoneBases ();
	}
	else
	{
		m_nDestIntervalBegin = 0;
		m_nDestIntervalEnd   = 0;
		m_numBones           = 0;
		m_nFirstBone         = 0;
	}
}
void CrySkinBasisBuilder :: setDestinationInterval ( unsigned nBegin , unsigned nEnd ) { if ( nEnd > m_pGeometry -> numExtTangents ( ) ) nEnd = m_pGeometry -> numExtTangents ( ) ; if ( nBegin < nEnd ) { m_nDestIntervalBegin = nBegin ; m_nDestIntervalEnd = nEnd ; preprocess ( ) ; makeBoneBases ( ) ; } else { m_nDestIntervalBegin = 0 ; m_nDestIntervalEnd = 0 ; m_numBones = 0 ; m_nFirstBone = 0 ; } }
sets the destination vertex interval to operate on.
sets the destination vertex interval to operate on .