示例#1
0
void GLC_3DRep::copyVboToClientSide()
{
	// Get the number of geometry of pRep
	const int pRepSize= m_pGeomList->size();
	for (int i= 0; i < pRepSize; ++i)
	{
		geomAt(i)->copyVboToClientSide();
	}
}
示例#2
0
void GLC_3DRep::transformSubGeometries(const GLC_Matrix4x4& matrix)
{
	// Get the number of geometry of pRep
	const int repCount= m_pGeomList->size();
	for (int i= 0; i < repCount; ++i)
	{
		GLC_Mesh* pCurrentMesh= dynamic_cast<GLC_Mesh*>(geomAt(i));
		if (NULL != pCurrentMesh)
		{
			pCurrentMesh->transformVertice(matrix);
		}
	}
}