cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCGrid3D Class Reference

#import <CCGrid.h>

+ Inheritance diagram for CCGrid3D:
+ Collaboration diagram for CCGrid3D:

List of all members.

Public Member Functions

(ccVertex3F- vertex:
(ccVertex3F- originalVertex:
(void) - setVertex:vertex:

Protected Attributes

GLvoid * _texCoordinates
GLvoid * _vertices
GLvoid * _originalVertices
GLushort * _indices

Detailed Description

CCGrid3D is a 3D grid implementation. Each vertex has 3 dimensions: x,y,z

Member Function Documentation

- (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

The documentation for this class was generated from the following file: