¡@

Home 

2014/10/15 ¤U¤È 10:14:03

iphone Programming Glossary: sggsprite

How to draw a line inside the fish movement (OpenGLES in iPhone)?

http://stackoverflow.com/questions/10499077/how-to-draw-a-line-inside-the-fish-movement-opengles-in-iphone

GLKMatrix4MakeOrtho 0 480 0 320 1024 1024 self.effect.transform.projectionMatrix projectionMatrix self.player SGGSprite alloc initWithFile @ bg.png effect self.effect self.player.position GLKVector2Make self.player.contentSize.width 460 self.children.. the data type of each component GL_FALSE can the data be scaled 2 4 NULL glDrawArrays GL_LINES 0 2 else SGGSprite is another class and self.children is mutable array. for SGGSprite sprite in self.children sprite render render method.. 2 4 NULL glDrawArrays GL_LINES 0 2 else SGGSprite is another class and self.children is mutable array. for SGGSprite sprite in self.children sprite render render method in SGGSprite class to draw a fish and background image void render..