?? m3dobject.h
字號:
/*
============================================================================
* Name : M3DObject.h
* Part of : Example3D
* Description : Definition of M3DObject
* Copyright (c) 2007 Nokia Corporation
============================================================================
*/
#ifndef __M3DOBJECT_H__
#define __M3DOBJECT_H__
// INCLUDES
#include <e32std.h>
#include "C3DBase.h"
#include "TBitmap.h"
// CLASS DECLARATION
/**
* Base class for all 3D objects
* C3DRenderer can draw objects derived from this class
*/
class M3dObject
{
public:
/// Virtual destructor
virtual ~M3dObject() {}
/// Virtual Draw function
/// @param aScreen bitmap to draw to
/// @param aPosition position in 3D space to draw to
/// @param aRotateMatrix object rotation matrix
virtual void Draw( const TBitmap& aScreen, TMatrix* aRotateMatrix ) = 0;
TInt iBoundingRadius;
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -