first commit
This commit is contained in:
39
include/engine/scene3d/mcamera.h
Normal file
39
include/engine/scene3d/mcamera.h
Normal file
@ -0,0 +1,39 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
#ifndef __NMCAMERA__
|
||||
#define __NMCAMERA__
|
||||
|
||||
|
||||
#include "core/camera.h"
|
||||
#include "scene3d/mitem.h"
|
||||
|
||||
|
||||
namespace GS {
|
||||
namespace S3D {
|
||||
|
||||
/*!
|
||||
@short Managed camera.
|
||||
@author Emmanuel Julien (ejulien@gsworks.fr)
|
||||
*/
|
||||
struct MCamera: public MItem, public Core::Camera
|
||||
{
|
||||
static MItemType GetMItemClassType() { return Type_Camera; }
|
||||
|
||||
virtual Core::Item *GetBaseItem() { return this; }
|
||||
virtual Core::Renderable *GetRenderable() { return 0; }
|
||||
|
||||
virtual bool FromMetaTag(NML::Tag &);
|
||||
virtual NML::Tag *AsMetaTag();
|
||||
|
||||
MCamera();
|
||||
};
|
||||
|
||||
} // S3D
|
||||
} // GS
|
||||
|
||||
|
||||
#endif // __NMCAMERA__
|
||||
Reference in New Issue
Block a user