Skip to content
Snippets Groups Projects
Commit c05b7de5 authored by Tobias Schöner's avatar Tobias Schöner
Browse files

Removed testing Code

parent c76f8be7
Branches
No related tags found
1 merge request!1feat: added visualisation for CircleFact; added Torus- and ConeGenerator
......@@ -25,14 +25,6 @@ protected override void GenerateShape()
if (torusMesh.sharedMesh != null)
torusMesh.sharedMesh.Clear();
torusMesh.mesh = CreateMesh(CreateTorus(torusRadius, ringRadius, ringSegmentCount, segmentSideCount));
//TODO for testing -- remove
try
{
MeshCollider meshCol = GetComponentInChildren<MeshCollider>();
meshCol.sharedMesh = torusMesh.mesh;
}
catch (Exception e) { }
}
private static (Vector3[] vertices, int[] triangles) CreateTorus(float torusRadius, float ringRadius, int ringSegmentCount, int segmentSideCount)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment