4 * Copyright 2009 Parrot SA. All rights reserved.
5 * @author D HAEYER Frederic
8 #include "ConstantsAndMacros.h"
26 GLfloat scaleTextureX;
27 GLfloat scaleTextureY;
33 enum {INVALID, GENERATED, SENT_TO_GPU} state;
36 @interface OpenGLSprite : NSObject {
43 unsigned int oldBytesPerPixel;
51 @property (nonatomic, assign) Vertex3D position;
52 @property (nonatomic, assign) Rotation3D rotation;
53 @property (nonatomic, assign) Scale3D scale;
55 - (id)initWithPath:(NSString *)path withScaling:(eSCALING)_scaling withScreenSize:(CGSize)size;
57 - (void)drawSelfIfNeeded:(BOOL)needed;