⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gamecamera.h

📁 介绍c++游戏编程
💻 H
字号:

#ifndef GAMECAMERA_H_
#define GAMECAMERA_H_


#include "GameEntity.h"


class GameCamera: public GameEntity
{
public: 
    GameCamera();
    GameCamera(const std::string & name);

    virtual bool Write(IStream & stream) const;
    virtual bool Read(IStream & stream);  
    virtual void Fixup();

    virtual const std::string GetClass() const;
    virtual void  Print(int indent) const;

    // This wouldn't normally be public, but it's more convenient for this example
    float m_FOV;
    float m_nearPlane;
    float m_farPlane;
    GameEntity * m_pTarget;

private:
    void SetDefaults();

};



#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -