Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
MainOpenGLView.h
#import <Cocoa/Cocoa.h> |
#include "newave.h" |
#include <OpenGL/gl.h> |
#include <OpenGL/glext.h> |
#include <OpenGL/glu.h> |
@interface MainOpenGLView : NSOpenGLView |
{ |
GLdouble tottime; |
GLint passes; |
struct timeval cycle_time; |
struct timeval display_time; |
WaveOject *wave; |
IBOutlet NSTextField *setFPS; |
IBOutlet NSTextField *setTriRate; |
NSTimer* timer; |
} |
@end |
Copyright © 2005 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2005-06-01