Closed EhsanMarufi closed 7 years ago
Oops!!! I thought the Git was supposed to compare the commits and create a new pull request for the new commits (the 4a0e9d7
and 01cf7da
commits), but the previous commits are also present here!! I know, I should've created a new branch, but the label of the button was so misleading :(
What am I suppose to do?!!
Don't worry about it, Ehsan, I know it's sometimes confusing how GitHub handles these things. :wink:
In any case, in this particular situation, I'd rather have this feature as an extension, e.g. simply one class (subclassing Polygon) that can be used by importing it into one's project. I'm still not 100% sure how I'm going to move on with the vector capabilities, so I want to keep this feature set really small for now.
it's sometimes confusing how GitHub handles these things..
I know, it happens every once in a while :blush:
I'm still not 100% sure how I'm going to move on with the vector capabilities
Hmm.. It's OK, I'm sure you're gonna find a very convenient approach to these capabilities, you will. But until then, you may utilize the optimizations applied in the code for the hit test routine of the Star
.
Thank you Daniel :)
Using the new
Star
class, you can create custom n-pointed star shapes with really optimized triangulation andhitTest()
functionalities. The Starling framework is no longer imaginable without the polygonal star generation routine !! :joy: (joking)