ivanfratric / polypartition

Tiny Polygon Partitioning and Triangulation Library
MIT License
664 stars 118 forks source link

Is y axis inverted #38

Open ClaudeSChretien opened 5 years ago

ClaudeSChretien commented 5 years ago

hi, I tried to use the code and it worked well. I have plot the test_input.txt points on Excel and I wonder why it is upside down? Maybe because the y axis is inverted?

Thanks

PDeveloper commented 5 years ago

Positive "y" means down in most computer graphics environments. Excel might be treating it as up, as in normal graphs and what not.

aaronfranke commented 3 years ago

PolyPartition uses a Y-is-down coordinate system (left-handed, rotation is clockwise), which is the standard for most 2D computer graphics programs. This is the same coordinate system used by the Godot game engine and most image editors.