亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ogreentitycollisionshape.h

?? opcode是功能強大
?? H
字號:
///////////////////////////////////////////////////////////////////////////////
///  @file OgreEntityCollisionShape.h
///  @brief <TODO: insert file description here>
///
///  @author The OgreOpcode Team @date
///
///////////////////////////////////////////////////////////////////////////////
///
///  This file is part of OgreOpcode.
///
///  A lot of the code is based on the Nebula Opcode Collision module, see docs/Nebula_license.txt
///  
///  OgreOpcode 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.1 of the License, or (at your option) any later version.
///
///  OgreOpcode is distributed in the hope that it will be useful,
///  but WITHOUT ANY WARRANTY; without even the implied warranty of
///  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
///  Lesser General Public License for more details.
///
///  You should have received a copy of the GNU Lesser General Public
///  License along with OgreOpcode; if not, write to the Free Software
///  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
///
///////////////////////////////////////////////////////////////////////////////
#ifndef __OgreEntityCollisionShape_h__
# define __OgreEntityCollisionShape_h__

#include "OgreOpcodeExports.h"
# include <Ogre.h>

#include "IOgreCollisionShape.h"
#include "OgreCollisionTypes.h"
#include "OgreOpcodeDebugObject.h"
#include "Opcode/Opcode.h"

namespace OgreOpcode
{
	class CollisionPair;

	/// Describes shapes for collision system.
	/// Holds a triangle list describing a collision shape.
	/// One EntityCollisionShape object may be shared between several
	/// CollisionObject%s. 2 EntityCollisionShape objects may also
	/// be queried directly whether they intersect.
	///
	/// EntityCollisionShape objects are also able to load themselves
	/// from a mesh file.
	class _OgreOpcode_Export EntityCollisionShape : public ICollisionShape
	{
	public:
		/// Constructs a EntityCollisionShape
		EntityCollisionShape(const Ogre::String& name);
		virtual ~EntityCollisionShape();

		/// load collide geometry from mesh, and build a collision tree
		virtual bool load(Ogre::Entity* ent);

		/// Retrieve current vertex data from mesh and refit collision tree.
		/// This is an O(n) operation in the number of vertices in the mesh.
		virtual bool refit();

	protected:
		
		/// Reload the collision geometry from mesh, rebuild collision tree from scratch. 
		/// Potentially very slow. Only necessary if the mesh has drastically changed,
		/// like topology changing deformations, or a change in the number of tris.
		/// In most cases RefitToMesh() is sufficient, and much faster.
		/// Under usual circumstances there is no need to call this method.
		virtual bool rebuild();
		/// Refits the collision tree to the currently cached vertex data.
		/// This is an O(n) operation in the number of vertices in the mesh.
		/// This is an advanced method.  It assumes that the user is manually 
		/// updating both the EntityCollisionShape's cached data and the actual mesh
		/// hardware buffers.  Mostly useful for implementing something like 
		/// deformable body physics.
		virtual bool _refitToCachedData();
		/// rebuild collision tree from scratch using currently cached vertex data
		/// This is potentially quite slow.  Only necessary if the mesh has drastically changed,
		/// like topology changing deformations, or a change in the number of tris.
		/// In most cases _RefitToCachedGeometry() is sufficient, and much faster.
		/// This is an advanced method.  It assumes that the user is manually 
		/// updating both the EntityCollisionShape's cached data and the actual mesh
		/// hardware buffers.  Mostly useful for implementing something like
		/// deformable body physics.
		virtual bool _rebuildFromCachedData();
		
		/// 
		virtual void createDummyNode();

	private:
		Ogre::Entity* mEntity; /// <
		Ogre::SceneNode* mDummyNode;/// <
		bool mDummyCreated;/// <

		/// Count up the total number of vertices and indices in the Ogre mesh
		void countIndicesAndVertices(Ogre::Entity * entity, size_t & index_count, size_t & vertex_count);
		/// Convert ogre Mesh to simple float and int arrays
		void convertMeshData(Ogre::Entity * entity, float * vertexData, size_t vertex_count, size_t * faceData=0, size_t index_count=0);

		/// prevent default construction
		EntityCollisionShape();

	};

}; // namespace OgreOpcode

#endif // __OgreEntityCollisionShape_h__

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
风间由美一区二区av101| 丁香婷婷综合激情五月色| 一区二区三区精密机械公司| 国产精品的网站| 综合久久一区二区三区| 综合婷婷亚洲小说| 夜夜亚洲天天久久| 婷婷中文字幕一区三区| 日本欧美在线看| 免费视频一区二区| 国产一区二区三区蝌蚪| 国产精品影视在线| 成人国产精品视频| 欧美性xxxxxxxx| 91精品国产色综合久久不卡电影| 91精品欧美福利在线观看| 日韩一级二级三级| 国产日韩av一区| 亚洲欧美另类小说| 蜜臀久久99精品久久久画质超高清| 韩国女主播一区二区三区| 成人黄动漫网站免费app| 欧美三级蜜桃2在线观看| 91精品国产综合久久香蕉麻豆| 精品国产青草久久久久福利| 国产精品入口麻豆九色| 亚洲一卡二卡三卡四卡无卡久久| 日韩国产精品久久久久久亚洲| 理论片日本一区| 99国产精品久久久| 91精品在线观看入口| 国产精品日产欧美久久久久| 亚洲成a人片在线观看中文| 久久成人av少妇免费| 91蜜桃视频在线| www精品美女久久久tv| 亚洲免费观看高清完整版在线 | 精品久久久久久无| 亚洲欧美怡红院| 久久国产精品99精品国产| 色综合天天综合网天天看片| 日韩欧美一区二区不卡| 亚洲黄色在线视频| 激情综合色播激情啊| 欧美日韩一区成人| 国产精品久久福利| 久久aⅴ国产欧美74aaa| 欧美三级视频在线观看| 国产精品久久午夜夜伦鲁鲁| 蜜桃av一区二区在线观看| 91久久精品网| 国产精品丝袜在线| 国产尤物一区二区在线| 欧美一区二区三区视频在线 | 婷婷丁香久久五月婷婷| 成人av资源在线| 久久久久国产精品厨房| 日本不卡的三区四区五区| 欧美亚洲国产一区二区三区va| 国产精品激情偷乱一区二区∴| 美国欧美日韩国产在线播放| 在线播放欧美女士性生活| 亚洲精品成人在线| 99久久99久久久精品齐齐| 国产精品嫩草久久久久| 国产激情视频一区二区在线观看| 555www色欧美视频| 五月天中文字幕一区二区| 欧美午夜片在线观看| 亚洲一区二区三区视频在线播放| 99国产欧美久久久精品| 亚洲欧洲成人自拍| 99精品久久久久久| 国产精品短视频| 色噜噜狠狠成人中文综合| 亚洲欧美日韩国产中文在线| 99久久伊人网影院| 亚洲天堂福利av| 欧美中文字幕一区二区三区亚洲| 亚洲乱码中文字幕| 欧美性受极品xxxx喷水| 性做久久久久久免费观看| 欧美日韩一区成人| 久久成人综合网| 亚洲国产高清在线观看视频| 波多野结衣精品在线| 亚洲激情av在线| 3atv一区二区三区| 国产一区二三区| 亚洲欧美一区二区视频| 欧美性大战久久久| 免费观看日韩电影| 国产调教视频一区| 91丝袜国产在线播放| 午夜久久久久久久久久一区二区| 欧美日韩国产乱码电影| 久久国产麻豆精品| 中文字幕一区二区三区在线不卡| 在线日韩一区二区| 国产一区二区电影| 亚洲色欲色欲www在线观看| 欧美日韩一区二区三区在线 | 午夜在线电影亚洲一区| 91精品在线观看入口| 成人午夜av在线| 亚洲福利视频一区| 久久久www成人免费毛片麻豆 | 亚洲免费观看高清完整 | 国产精品一二三四五| 亚洲欧美在线观看| 精品少妇一区二区三区在线视频| 不卡一区二区中文字幕| 免费观看久久久4p| 亚洲老妇xxxxxx| 精品国产髙清在线看国产毛片| 成人爽a毛片一区二区免费| 五月天网站亚洲| 亚洲男人天堂一区| 久久久精品国产免费观看同学| 欧美综合欧美视频| www.66久久| 久久97超碰色| 视频在线观看一区| 亚洲视频在线观看一区| 日韩欧美一区在线| 在线观看视频欧美| 99免费精品视频| 国产成人免费网站| 蜜桃视频一区二区| 亚洲成人黄色小说| 亚洲精品成人a在线观看| 久久久精品中文字幕麻豆发布| 884aa四虎影成人精品一区| 粉嫩蜜臀av国产精品网站| 美女国产一区二区| 首页国产欧美久久| 亚洲v中文字幕| 亚洲一区av在线| 亚洲精品久久久久久国产精华液| 国产女人水真多18毛片18精品视频| 日韩三级视频在线观看| 欧美日韩一区高清| 欧美丝袜丝交足nylons图片| 91国产免费观看| 99视频精品免费视频| 成人免费高清视频| 国产91富婆露脸刺激对白| 国产很黄免费观看久久| 裸体健美xxxx欧美裸体表演| 日韩avvvv在线播放| 天天色 色综合| 日韩国产一二三区| 蜜桃视频一区二区三区在线观看| 日韩高清在线观看| 喷水一区二区三区| 久久精品免费观看| 国产精品自在在线| 国产aⅴ综合色| 99视频热这里只有精品免费| 色呦呦一区二区三区| 欧美亚洲国产bt| 91.com在线观看| 久久影院午夜片一区| 国产亚洲精品免费| 亚洲视频免费观看| 亚洲自拍偷拍欧美| 麻豆中文一区二区| 国产成人在线看| 一本久久综合亚洲鲁鲁五月天| 欧美在线啊v一区| 日韩精品中文字幕在线不卡尤物 | 欧美成人在线直播| 久久网站最新地址| 中文字幕中文乱码欧美一区二区| 17c精品麻豆一区二区免费| 亚洲一区二区三区在线| 麻豆精品久久精品色综合| 国产91丝袜在线播放| 91麻豆高清视频| 欧美电影免费观看高清完整版在线| 久久久久国产精品厨房| 亚洲裸体xxx| 久久成人久久爱| 色婷婷av一区二区三区大白胸 | 国产中文字幕精品| 91香蕉视频在线| 制服丝袜一区二区三区| 欧美国产在线观看| 亚洲国产精品一区二区久久恐怖片| 男女视频一区二区| 91丝袜美腿高跟国产极品老师| 67194成人在线观看| 国产精品视频观看| 美美哒免费高清在线观看视频一区二区| 国产69精品一区二区亚洲孕妇| 欧美日韩中文字幕一区二区| 国产日本亚洲高清| 青青国产91久久久久久| 色婷婷久久久久swag精品| 久久久无码精品亚洲日韩按摩|