RSS

(root)/iphone/common : 61 : MarineCompass/source/EAGLView.h

« back to all changes in this revision

Viewing changes to MarineCompass/source/EAGLView.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
 
//  EAGLView.h
3
 
//  MarineCompass
4
 
//
5
 
//  Created by döme on 26.07.2009.
6
 
//  Copyright __MyCompanyName__ 2009. All rights reserved.
7
 
//
8
 
 
9
 
 
10
 
#import <UIKit/UIKit.h>
11
 
 
12
 
#import "GLESView.h"
13
 
 
14
 
#import "geometry.h"
15
 
 
16
 
 
17
 
@class VertexArray, ES2Shader, MarineCompassAppDelegate;
18
 
 
19
 
@interface EAGLView : GLESView 
20
 
{
21
 
        GLuint scale1tex;
22
 
        GLuint scale2tex;
23
 
        GLuint disk1tex;
24
 
        GLuint disk2tex;
25
 
        GLuint linesTex;
26
 
        GLuint whiteTex;
27
 
        GLuint grayTex;
28
 
        
29
 
        VertexArray*    outerConeVar;
30
 
        VertexArray*    sphereVar;
31
 
        
32
 
        ES2Shader*              simpleShader;
33
 
        ES2Shader*              fresnelShader;
34
 
        
35
 
        int             projectionMode;
36
 
        int             linesMode;
37
 
        int             viewpointMode;
38
 
        
39
 
        IBOutlet        MarineCompassAppDelegate*       controller;
40
 
        
41
 
}
42
 
 
43
 
- (IBAction) toggleProjectionMode: (id) sender;
44
 
- (IBAction) toggleLinesMode: (id) sender;
45
 
- (IBAction) toggleViewpointMode: (id) sender;
46
 
 
47
 
@end

Loggerhead 1.17 is a web-based interface for Bazaar branches