Skip to content

Instantly share code, notes, and snippets.

@N-Carter
Created September 18, 2012 08:45
Show Gist options
  • Save N-Carter/3742086 to your computer and use it in GitHub Desktop.
Save N-Carter/3742086 to your computer and use it in GitHub Desktop.
Alternative Triangulator constructor
public Triangulator(Vector3[] points)
{
m_points = points.Select(vertex => new Vector2(vertex.x, vertex.y)).ToList();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment