Project: omgwheel
Code Location: http://omgwheel.googlecode.com/svn/trunk//trunk
Browse
/
Download File
Camera.h
#ifndef CAMERA_H
#define CAMERA_H

#include "Object.h"
class Ogre::Camera;

/**
  * Camera Class
  *
  */

class OMGCamera
{
public:
	Ogre::Camera* mOgreCamera;
	Object *mTarget;
	Ogre::SceneNode* mCameraNode;
	Ogre::SceneNode* mTargetNode;
	Ogre::Vector3 distance;

    OMGCamera ();

	void update(float k, Ogre::Vector3 cameraPosition, Ogre::Vector3 targetPosition);

	/*void setTarget(Object* target);
	void setPosition(double x, double y, double z);
    void update (float k);*/
};

#endif