Initial import of KREngine
--HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%404
This commit is contained in:
54
objview/Classes/KRObjViewViewController.h
Normal file
54
objview/Classes/KRObjViewViewController.h
Normal file
@@ -0,0 +1,54 @@
|
||||
//
|
||||
// KRObjViewViewController.h
|
||||
// KRObjView
|
||||
//
|
||||
// Created by Mac on 11-04-29.
|
||||
// Copyright 2011 __MyCompanyName__. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "KRObjViewGLView.h"
|
||||
#import <KREngine.h>
|
||||
#import <KRVector3.h>
|
||||
#import <KRScene.h>
|
||||
|
||||
@interface KRObjViewViewController : UIViewController {
|
||||
|
||||
CALayer *overlayLayer;
|
||||
|
||||
KRObjViewGLView *glView;
|
||||
|
||||
float heading;
|
||||
|
||||
Vector3 camera_position;
|
||||
double camera_pitch;
|
||||
double camera_yaw;
|
||||
|
||||
double leftStickStartX;
|
||||
double leftStickStartY;
|
||||
double rightStickStartX;
|
||||
double rightStickStartY;
|
||||
|
||||
double leftStickDeltaX;
|
||||
double leftStickDeltaY;
|
||||
double rightStickDeltaX;
|
||||
double rightStickDeltaY;
|
||||
double dLeftSlider;
|
||||
double dRightSlider;
|
||||
|
||||
bool bUpdateParam;
|
||||
bool bLoadedTestInstances;
|
||||
int cParamDisplayFrames;
|
||||
|
||||
|
||||
id displayLink;
|
||||
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) IBOutlet CALayer *overlayLayer;
|
||||
@property (readonly) KRObjViewGLView *glView;
|
||||
|
||||
// OpenGL ES 2.0 setup methods
|
||||
- (void)drawView:(id)sender;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user