Skip to content

Instantly share code, notes, and snippets.

@martindevans
Created July 31, 2015 15:44
Show Gist options
  • Save martindevans/1fe9d82da985dec22950 to your computer and use it in GitHub Desktop.
Save martindevans/1fe9d82da985dec22950 to your computer and use it in GitHub Desktop.
geometry.Union(geometry
.CreatePrism(material, points.Quickhull2D().ToArray(), height)
.Translate(new Vector3(0, this.GroundOffset(height), 0))
.Transform(InverseWorldTransformation),
false
);
geometry.Union(geometry
.CreatePrism(material, points.Quickhull2D().ToArray(), height)
.Translate(new Vector3(0, this.GroundOffset(height), 0))
.Transform(InverseWorldTransformation),
false
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment