MCPcopy Create free account
hub / github.com/assimp/assimp / ComputeLastPolygonNormal

Method ComputeLastPolygonNormal

code/AssetLib/IFC/IFCUtil.cpp:221–223  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------ Compute the normal of the last polygon in the given mesh

Source from the content-addressed store, hash-verified

219// ------------------------------------------------------------------------------------------------
220// Compute the normal of the last polygon in the given mesh
221IfcVector3 TempMesh::ComputeLastPolygonNormal(bool normalize) const {
222 return ComputePolygonNormal(&mVerts[mVerts.size() - mVertcnt.back()], mVertcnt.back(), normalize);
223}
224
225struct CompareVector {
226 bool operator () (const IfcVector3& a, const IfcVector3& b) const {

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected