OrbitCamera Class Reference

#import <CameraAction.h>

Inherits CameraAction.

Collaboration diagram for OrbitCamera:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithDuration:radius:deltaRadius:angleZ:deltaAngleZ:angleX:deltaAngleX:
(void) - sphericalRadius:zenith:azimuth:

Static Public Member Functions

(id) + actionWithDuration:radius:deltaRadius:angleZ:deltaAngleZ:angleX:deltaAngleX:


Detailed Description

Orbit Camera action Orbits the camera around the center of the screen using spherical coordinates

Member Function Documentation

+ (id) actionWithDuration: (float)  t
radius: (float)  r
deltaRadius: (float)  dr
angleZ: (float)  z
deltaAngleZ: (float)  dz
angleX: (float)  x
deltaAngleX: (float)  dx 

creates an OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX

- (id) initWithDuration: (float)  t
radius: (float)  r
deltaRadius: (float)  dr
angleZ: (float)  z
deltaAngleZ: (float)  dz
angleX: (float)  x
deltaAngleX: (float)  dx 

initializes an OrbitCamera action with radius, delta-radius, z, deltaZ, x, deltaX

- (void) sphericalRadius: (float *)  r
zenith: (float *)  zenith
azimuth: (float *)  azimuth 

positions the camera according to spherical coordinates


The documentation for this class was generated from the following file:

Generated on Tue Jun 9 10:39:40 2009 for cocos2d for iPhone 0.7.3 by  doxygen 1.5.8