Hey guys,
I'm looking for guidance here, not a straight forward answer, (unless its easy and not too much hassle for you), i've looked into the ccDrawCircle method and have managed to make it draw a solid circle, i also understand that the circle is drawn by connecting lots of vertex's.
My aim is to create a 'cone of vision' for an enemy guard, given a degree or even a radian.
So for example, i'd want to call a method saying something along the lines of drawCircleSegmentFor:(float)degrees
Could anyone give me a hand here, links to reading materials or tutorials to do with this sort of thing.
(I have tried to google openGL drawing tutorials and alike but feel like i'm jumping into the deepest part of the ocean, i'm struggling to find a starting point to my learning.)
Thanks in advance guys.