INNER CODE UNIT · C#
radius
Blotch3D/Blotch3D · src/BlGeometry.cs:563
var radius = (center - minExtents).Length();
var sphere = new BoundingSphere(center, radius);
return sphere;
}
/// <summary>
/// Removes triangles that have zero area. Typically called after a transform.
/// </summary>
/// <param name="triangles">The input triangles (i.e. NOT a regular grid)</param>
/// <returns>Output triangles</returns>
static public VertexPositionNormalTexture[] CullEmptyTriangles(VertexPositionNormalTexture[] triangles)
{
var newList = new List<VertexPositionNormalTexture>();
var len = triangles.Length;