ivanfratric / polypartition

Tiny Polygon Partitioning and Triangulation Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is y axis inverted

ClaudeSChretien opened this issue · comments

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

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

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.