mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#1101 Compute surface normals
This commit is contained in:
@@ -128,6 +128,7 @@ cvf::ref<cvf::DrawableGeo> RivWellFracturesPartMgr::createGeo(const std::vector<
|
||||
|
||||
geo->setVertexArray(vertices.p());
|
||||
geo->addPrimitiveSet(new cvf::PrimitiveSetIndexedUInt(cvf::PT_TRIANGLES, indices.p()));
|
||||
geo->computeNormals();
|
||||
|
||||
return geo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user