PDA

View Full Version : when message scroll, 3d animation not move fixed



feelthat
07-02-2013, 06:08 PM
in EAGLView.mm

add follows in

- (void)startAnimation

self.animationTimer =
[NSTimer scheduledTimerWithTimeInterval:animationInterval
target:self
selector:@selector(drawView)
userInfo:nil
repeats:YES];

NSRunLoop* runner = [NSRunLoop currentRunLoop];
[runner addTimer:self.animationTimer forMode:NSRunLoopCommonModes];