Adds the triangle.Namespace: DigitalRune.Geometry.Meshes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 126.96.36.199 (188.8.131.5290)
- Type: DigitalRune.Geometry.Shapes..::..Triangle
- Type: System..::..Boolean
If set to trueTruetruetrue (True in Visual Basic), vertex welding is performed. A brute-force method is used for welding which can be very slow for large triangle meshes. For large meshes it is recommended to call WeldVertices()()()() after all triangles have been added.
This method does not remove degenerate triangles. Use Add(Triangle, Boolean, Single, Boolean) if more control over vertex welding and if removal of degenerate triangles is desired.