Ignore:
Timestamp:
Mar 13, 2011, 1:58:53 AM (10 years ago)
Author:
sam
Message:

ios: clean up code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/ios/classes/EAGLView.h

    r731 r739  
    11//
    2 //  EAGLView.h
    3 //  Monsterz
     2// Monsterz
    43//
    5 //  Created by user on 05.03.11.
    6 //  Copyright 2011 __MyCompanyName__. All rights reserved.
     4// Copyright: (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
     5//   This program is free software; you can redistribute it and/or
     6//   modify it under the terms of the Do What The Fuck You Want To
     7//   Public License, Version 2, as published by Sam Hocevar. See
     8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
    79//
    810
     
    1416#import <OpenGLES/ES2/glext.h>
    1517
    16 // This class wraps the CAEAGLLayer from CoreAnimation into a convenient UIView subclass.
    17 // The view content is basically an EAGL surface you render your OpenGL scene into.
    18 // Note that setting the view non-opaque will only work if the EAGL surface has an alpha channel.
     18// This class wraps the CAEAGLLayer from CoreAnimation into a convenient
     19// UIView subclass. The view content is basically an EAGL surface you
     20// render your OpenGL scene into. Note that setting the view non-opaque
     21// will only work if the EAGL surface has an alpha channel.
    1922@interface EAGLView : UIView
    2023{
    2124@private
    2225    EAGLContext *context;
    23    
     26
    2427    // The pixel dimensions of the CAEAGLLayer.
    2528    GLint framebufferWidth;
    2629    GLint framebufferHeight;
    27    
    28     // The OpenGL ES names for the framebuffer and renderbuffer used to render to this view.
     30
     31    // The OpenGL ES names for the framebuffer and renderbuffer used to
     32    // render to this view.
    2933    GLuint defaultFramebuffer, colorRenderbuffer;
    3034}
     
    3640
    3741@end
     42
Note: See TracChangeset for help on using the changeset viewer.