Skip to content
Snippets Groups Projects
Commit d3e7c61b authored by mariuskern's avatar mariuskern
Browse files

Prism

parent e106663e
No related branches found
No related tags found
No related merge requests found
......@@ -48,8 +48,8 @@ public static class MMTConstants
public static readonly string TriangleType = "http://mathhub.info/MitM/core/geometry?Geometry/Triangles?triangle";
public static readonly string TriangleScroll = "http://mathhub.info/FrameIT/frameworld?TriangleScroll";
public static readonly string PrismCons = "http://mathhub.info/FrameIT/frameworld?prismType?prismCons";
public static readonly string PrismType = "http://mathhub.info/FrameIT/frameworld?RectangleType?prismType";
public static readonly string PrismCons = "http://mathhub.info/FrameIT/frameworld?PrismType?prismCons";
public static readonly string PrismType = "http://mathhub.info/FrameIT/frameworld?PrismType?prismType";
public static readonly string PrismScroll = "http://mathhub.info/FrameIT/frameworld?PrismScroll";
public static readonly string CuboidCons = "http://mathhub.info/FrameIT/frameworld?CuboidType?cuboidCons";
......
......@@ -62,7 +62,7 @@ public static (Vector3[], int[]) CreateTriangluarPrism(float triangle_ab, float
{
Vector3[] bottom_edge = GetTrianglePoints(triangle_ab, triangle_height, triangle_c);
Vector3[] bottom_vertices =
new Vector3[] { offset }
new Vector3[] { }
.AppendRange(bottom_edge)
.Append(bottom_edge[0])
.ToArray();
......@@ -70,7 +70,7 @@ public static (Vector3[], int[]) CreateTriangluarPrism(float triangle_ab, float
Vector3[] top_edge = GetTrianglePoints(triangle_ab, triangle_height, triangle_c, new Vector3(0, 0, -prism_height));
Vector3[] top_vertices =
new Vector3[] { offset }
new Vector3[] { }
.AppendRange(top_edge)
.Append(top_edge[0])
.ToArray();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment