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

📄 m3dobject.h

📁 Symbian平台下的一个3D赛车游戏源码
💻 H
字号:
   /*
============================================================================
    * Name : M3DObject.h
    * Part of : Example3D
    * Description : Definition of M3DObject
    * Copyright (c) 2005 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 + -