API Reference > Extension Classes > ExRender Classes > ExRender Windows Classes > D3dMetafilePackager Class > D3dMetafilePackager Methods > addTriangle Method > D3dMetafilePackager::addTriangle Method (bool, OdD3DVertexNormalTexCol *)
D3dMetafilePackager::addTriangle Method (bool, OdD3DVertexNormalTexCol *)
Syntax
C++
void addTriangle(bool bTwoSidesMode, const OdD3DVertexNormalTexCol * pVertices);
Parameters 
Description 
bool bTwoSidesMode 
[in] true if two sides mode enabled (add's one additional triangle in opposite vertices order).  
const OdD3DVertexNormalTexCol * pVertices 
[in] Pointer to three triangle vertices. 

Pack triangle into metafile.

Entry type depend from pVertices type.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.