Wartbed:Framework/Camera

From Dark Omen Wiki

Jump to: navigation, search

User guide for my benefit. May not represent the current state of WARTBED development

Note potential name confusion. Ogre has a class Ogre::Camera. WARTBED's Ogre details is kept under the wb::ogre namespace. If both wb and ogre namespaces are introduced in a scope with using there will be symbol ambiguity.

Layout

ogre_Kernel.h

namespace wb
class Camera
namespace cam
enum EYE, FOCUS, CAMERA
enum SWIVEL, CIRCLE, ORBIT

Camera members

return type method
void setPosition( Vector3, cam::CAMERA / cam::EYE / cam::FOCUS )
Vector3 getPosition( cam::CAMERA / cam::EYE / cam::FOCUS )
void setDirection( Vector3, cam::CAMERA / cam::EYE / cam::FOCUS )
Vector3 getOrientation( cam::CAMERA / cam::EYE / cam::FOCUS )
void translate( Vector3, cam::CAMERA / cam::EYE / cam::FOCUS )

Personal tools
communication