RSS

(root)/iphone/common : 61 : Jigs/source/SimplexNoise.h

« back to all changes in this revision

Viewing changes to Jigs/source/SimplexNoise.h

Dömötör Gulyás
2010-01-18 09:03:51
Revision ID: dognotdog@gmail.com-20100118080351-ib2knxvk4w8ssw3h
made common a nested tree

Show diffs side-by-side

added added

removed removed

1
 
//
2
 
//  SimplexNoise.h
3
 
//  JigsawGenerator
4
 
//
5
 
//  Created by DoG on 19.02.07.
6
 
//  Copyright 2007 Doemoetoer Gulyas. All rights reserved.
7
 
//
8
 
 
9
 
#import <Foundation/Foundation.h>
10
 
 
11
 
 
12
 
@interface SimplexNoise : NSObject
13
 
{
14
 
        
15
 
        uint32_t* perm;
16
 
 
17
 
}
18
 
 
19
 
- (id) init;
20
 
 
21
 
- (void) setSeed: (uint32_t) seed;
22
 
- (float) noise3dWithX: (float) x Y: (float) y Z: (float) z;
23
 
- (float) noise3dPrimeWithX: (float) x Y: (float) y Z: (float) z withOctaves: (size_t) count;
24
 
- (float) noise3dOctavesWithX: (float) x Y: (float) y Z: (float) z withOctaves: (size_t) count;
25
 
- (float) noise3dOctavesSqrWithX: (float) x Y: (float) y Z: (float) z withOctaves: (size_t) count;
26
 
- (float) noise3dWhiteWithX: (float) x Y: (float) y Z: (float) z withOctaves: (size_t) count;
27
 
- (float) noise3dPinkWithX: (float) x Y: (float) y Z: (float) z withOctaves: (size_t) count;
28
 
- (float) noise3dBrownWithX: (float) x Y: (float) y Z: (float) z withOctaves: (size_t) count;
29
 
 
30
 
- (float) noise3dWithX: (float) x Y: (float) y Z: (float) z withOctaves: (size_t) count ofType: (int) type;
31
 
 
32
 
@end

Loggerhead 1.17 is a web-based interface for Bazaar branches