b19e4b4a5f
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3065 127b21dd-08f5-0310-b4b7-95ae10353056
23 lines
561 B
Objective-C
23 lines
561 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
|
|
#if OUTPUT_BINORMALS
|
|
- (NSArray *) binormalArray; // Array of 3 * count numbers representing binormals
|
|
#endif
|
|
- (NSArray *) texCoordArray; // Array of 2 * count numbers representing texture coordinates
|
|
|
|
@end
|