On the eve of the first storm of winter.
It might be snowing outside, but it's nice and warm inside!
Took the night to de-stress.
Let me introduce you to snowflake!
Identifying if a point lies within a complex polygon (self overlaping)
After an evening struggling to get the even-odd algorithm working with edge cases I come across the winding algorithm! Hallelujah!!!
Far more robust, and once you break down the approach to determining if a point is to the left or right of an edge it becomes dead simple to implement.
I found a GREAT description of the algo at http://geomalgorithms.com/a03-_inclusion.html
Hi! Game Making Social is a part of the Fediverse dedicated to being a well-moderated, cosy, friendly place to talk and share stuff about amateur videogame making, and everything surrounding that.
It's kinda an offshoot of Game Making Tools, which is a wiki(+) for a similar audience.
Game makers, game writers, game curators, etc. etc. most welcome!
I also try to maintain a list of not-jerk game-making communities on the wiki, which you might find interesting.
Please read the rules before signing-up :)
PS: We have Animal Crossing, LSD, and Klik & Play emoji :3