-
-
Save aravindk2604/caab9128d9abcf136ffafc31a04239c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //create an extruded polygon | |
| CSG polygon = Extrude.points(new Vector3d(0, 0, 40),// This is the extrusion depth | |
| new Vector3d(0,0),// All values after this are the points in the polygon | |
| new Vector3d(80,0),// Bottom right corner | |
| new Vector3d(60,40),// upper right corner | |
| new Vector3d(20,40)// upper left corner | |
| ); | |
| return polygon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment