![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCGrid.h>
Public Member Functions | |
(ccQuad3) | - tile: |
(ccQuad3) | - originalTile: |
(void) | - setTile:coords: |
Protected Attributes | |
GLvoid * | _texCoordinates |
GLvoid * | _vertices |
GLvoid * | _originalVertices |
GLushort * | _indices |
CCTiledGrid3D is a 3D grid implementation. It differs from Grid3D in that the tiles can be separated from the grid.
- (ccQuad3) originalTile: | (CGPoint) | pos |
returns the original tile (untransformed) at the given position
- (void) setTile: | (CGPoint) | pos | |
coords: | (ccQuad3) | coords | |
sets a new tile