Created
May 9, 2021 06:46
-
-
Save baku89/3d9573d51d0a4b92832184c070e2bd04 to your computer and use it in GitHub Desktop.
This file contains 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
removeprim(0, 0, 0); | |
vector p0 = point(0, "P", 0); | |
vector p1 = point(0, "P", 1); | |
vector mid; | |
mid.x = p1.x; | |
mid.y = p0.y; | |
addpoint(0, mid); | |
addprim(0, "polyline", 0, 2, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment