mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 09:22:13 -05:00
#1101 Compute surface normals
This commit is contained in:
1 parent
866fb92d5f
commit
6dd3db4d97
1 file changed
+1
@@ -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