d3D_PgonsA pgsa = c3d.GetPgonsA() ;
{
d3D_PgonsA pa_tri ;
for (long index=0 ; index<pgsa.GetCount() ; index++) {
d3D_Pgons1 pgns1 = pgsa[index] ;
d3D_Pgons1 pgons = pgns1 ;
{
pgons = ::Pgons_ToTriangle(pgns1) ;
// pgons.SetColor (pgns1.GetColor ()) ;
// pgons.SetTexture(pgns1.GetTexture()) ;
// pgons.SetName (pgns1.GetName ()) ;
pgons.Material::operator=(pgns1) ;
}
pa_tri.Add(pgons) ;
}
pgsa = pa_tri ;
}