oolite/tools/icosmesh/JAVertexSet.h
2009-11-20 14:49:24 +00:00

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