|
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCGrid.h>
Inheritance diagram for CCGrid3D:
Collaboration diagram for CCGrid3D:Public Member Functions | |
| (ccVertex3F) | - vertex: |
| (ccVertex3F) | - originalVertex: |
| (void) | - setVertex:vertex: |
Protected Attributes | |
| GLvoid * | _texCoordinates |
| GLvoid * | _vertices |
| GLvoid * | _originalVertices |
| GLushort * | _indices |
CCGrid3D is a 3D grid implementation. Each vertex has 3 dimensions: x,y,z
| - (ccVertex3F) originalVertex: | (CGPoint) | pos |
returns the original (non-transformed) vertex at a given position
| - (void) setVertex: | (CGPoint) | pos | |
| vertex: | (ccVertex3F) | vertex | |
sets a new vertex at a given position
| - (ccVertex3F) vertex: | (CGPoint) | pos |
returns the vertex at a given position