game engine - How to store edges of convex polygon? -


i'm making own simple 2d-game's engine , want use separating axis theorem detect collisions requires objects convex polygons , love able create these polygons in easy way because every physical object in game required have own polygon mapped painful create these polygons hand (by providing pixel coordinates of every vertex of polygon) every object.

is there better way this?


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -