c8445aeb9e
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2767 127b21dd-08f5-0310-b4b7-95ae10353056
20 lines
451 B
Objective-C
20 lines
451 B
Objective-C
#import "icosmesh.h"
|
|
|
|
|
|
@interface JAVertexSet: NSObject
|
|
{
|
|
@private
|
|
NSMutableDictionary *_indices;
|
|
NSMutableArray *_vertices;
|
|
}
|
|
|
|
- (NSUInteger) indexForVertex:(Vertex)vertex;
|
|
- (Vertex) vertexAtIndex:(NSUInteger)index;
|
|
|
|
@property (readonly) NSUInteger count;
|
|
|
|
- (NSArray *) positionArray; // Array of 3 * count numbers representing vertex positions
|
|
- (NSArray *) texCoordArray; // Array of 2 * count numbers representing texture coordinates
|
|
|
|
@end
|