-
Notifications
You must be signed in to change notification settings - Fork 1
/
PBMesh.h
43 lines (34 loc) · 879 Bytes
/
PBMesh.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#import "QCPatch.h"
#import "QCOpenGLContext.h"
#import "QCStringPort.h"
#import "QCNumberPort.h"
#import "QCIndexPort.h"
#import "QCBooleanPort.h"
#import "QCOpenGLPort_Image.h"
typedef struct
{
unsigned int width;
unsigned int height;
float *x; // width * height entries long
float *y; // ...
float *u; // ...
float *v; // ...
float *i; // ...
} PBMeshData;
@interface PBMesh : QCPatch
{
QCStringPort *inputFile;
QCIndexPort *inputTextureControl;
QCNumberPort *inputXPos;
QCNumberPort *inputYPos;
QCNumberPort *inputZPos;
QCNumberPort *inputWidth;
QCNumberPort *inputHeight;
QCNumberPort *inputDeltaU;
QCNumberPort *inputDeltaV;
QCOpenGLPort_Image *inputImage;
PBMeshData *currentMesh;
}
- (id)initWithIdentifier:(id)fp8;
- (BOOL)execute:(QCOpenGLContext *)context time:(double)time arguments:(NSDictionary *)arguments;
@end