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

📄 ogrepaginglandscapetileinfo.h

📁 使用stl技术,(还没看,是听说的)
💻 H
字号:
/***************************************************************************
OgrePagingLandScapeTileInfo.h  -  description
-------------------
begin                : Sat Jan 31 2004
copyright            : (C) 2003 by Jose A Milan
email                : spoke2@supercable.es
***************************************************************************/

/***************************************************************************
*                                                                         *
*   This program is free software; you can redistribute it and/or modify  *
*   it under the terms of the GNU Lesser General Public License as published by  *
*   the Free Software Foundation; either version 2 of the License, or     *
*   (at your option) any later version.                                   *
*                                                                         *
***************************************************************************/

#ifndef PAGINGLANDSCAPETILEINFO_H
#define PAGINGLANDSCAPETILEINFO_H

namespace Ogre
{

/** This class holds the Tile info
	@remarks
		This will avoid to pass a lot of data to the Renderable class.
*/

class PagingLandScapeTileInfo
{
    public:
	    //This is the Page Index in the Page Array
	    uint pageX;
	    uint pageZ;
    		
	    //This is the tile Index in the Tile Array
	    uint tileX;
	    uint tileZ;

	    //This is the spatial position of this Tile
	    Real posX;
	    Real posZ;
};

}

#endif

⌨️ 快捷键说明

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