API Reference > Extension Classes > ExRender Classes > ExRender Windows Classes > D3dMetafilePackager Class > D3dMetafilePackager Methods > addTriangle Method > D3dMetafilePackager::addTriangle Method (bool, OdD3DVertexNormalCol *)
D3dMetafilePackager::addTriangle Method (bool, OdD3DVertexNormalCol *)
Syntax
C++
void addTriangle(bool bTwoSidesMode, const OdD3DVertexNormalCol * pVertices);
Parameters 
Description 
bool bTwoSidesMode 
[in] true if two sides mode enabled (add's one additional triangle in opposite vertices order).  
const OdD3DVertexNormalCol * 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.