Skip to content

Instantly share code, notes, and snippets.

@mcsee
Last active December 24, 2023 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcsee/a154cc16b478e6146d185c788ead7a36 to your computer and use it in GitHub Desktop.
Save mcsee/a154cc16b478e6146d185c788ead7a36 to your computer and use it in GitHub Desktop.
<?
$triangle = new
Polygon([(new Point(1,1), new Point(2,2), new Point(3,3))]);
array_shift($triangle->getVertices());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment