Public Member Functions | Static Public Member Functions

CCOrbitCamera Class Reference

#import "CCActionCamera.h"

Inherits CCActionCamera.

Collaboration diagram for CCOrbitCamera:
[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

CCOrbitCamera 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 a CCOrbitCamera 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 a CCOrbitCamera 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: