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

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

?? ogremeshcollisionshape.h

?? opcode是功能強大
?? H
字號:
///////////////////////////////////////////////////////////////////////////////
///  @file OgreMeshCollisionShape.h
///  @brief <TODO: insert file description here>
///
///  @author The OgreOpcode Team
///
///////////////////////////////////////////////////////////////////////////////
///
///  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 __OgreMeshCollisionShape_h__
# define __OgreMeshCollisionShape_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 MeshCollisionShape object may be shared between several
	/// CollisionObject%s. 2 MeshCollisionShape objects may also
	/// be queried directly whether they intersect.
	///
	/// MeshCollisionShape objects are also able to load themselves
	/// from a mesh file.
	class _OgreOpcode_Export MeshCollisionShape : public ICollisionShape
	{
	public:
		/// Constructs a MeshCollisionShape
		MeshCollisionShape(const Ogre::String& name);
		virtual ~MeshCollisionShape();

		/// load collide geometry from mesh, and build a collision tree
		virtual bool load(const Ogre::String& meshName, const Ogre::Quaternion& orientation = Ogre::Quaternion::IDENTITY, const Ogre::Vector3& position = Ogre::Vector3(0,0,0));

		/// 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 MeshCollisionShape'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 MeshCollisionShape'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
		MeshCollisionShape();

	};

}; // namespace OgreOpcode

#endif // __OgreMeshCollisionShape_h__

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一区精品视频| 国产精品久久久一本精品| 丝瓜av网站精品一区二区| 日本道精品一区二区三区| 亚洲手机成人高清视频| 91视频一区二区三区| 日韩美女视频一区二区| 波多野结衣亚洲一区| 国产精品高潮呻吟久久| 色婷婷久久久综合中文字幕| 国产精品久99| 欧美四级电影网| 美女精品一区二区| 久久久久9999亚洲精品| 成人av在线影院| 一区二区三区中文字幕精品精品 | 波多野结衣视频一区| 中文字幕免费观看一区| 91色在线porny| 日韩中文字幕一区二区三区| 欧美一区三区二区| 国产剧情av麻豆香蕉精品| 国产日韩精品久久久| 91视频在线看| 久久精品国产精品亚洲红杏| 国产日本欧美一区二区| gogogo免费视频观看亚洲一| 中文字幕精品一区二区三区精品| av一本久道久久综合久久鬼色| 一区二区三区在线影院| 欧美mv和日韩mv国产网站| 国产99精品国产| 婷婷开心激情综合| 国产欧美日韩三区| 欧美日韩综合一区| 国产精品1区2区| 亚洲国产一二三| 国产日产欧美一区| 欧美三级电影网站| 成人免费高清视频| 日本欧美在线观看| 1024成人网色www| 欧美r级在线观看| 在线免费亚洲电影| 国产91对白在线观看九色| 亚洲第一电影网| 中文字幕av一区二区三区免费看 | 日日摸夜夜添夜夜添国产精品| 久久久三级国产网站| 欧美性xxxxxxxx| 国产69精品久久久久毛片| 亚洲欧美一区二区三区极速播放| 欧美一区二区视频网站| 99久久精品国产导航| 久久99国产精品尤物| ...av二区三区久久精品| 日韩欧美国产综合| 欧美日韩在线免费视频| av欧美精品.com| 国产最新精品精品你懂的| 午夜精品视频一区| 亚洲视频一二区| 国产精品美女一区二区在线观看| 日韩女优视频免费观看| 欧美视频完全免费看| av色综合久久天堂av综合| 国产黄人亚洲片| 久久国产视频网| 热久久久久久久| 亚洲 欧美综合在线网络| 亚洲欧美福利一区二区| 国产精品女同一区二区三区| 日韩精品一区二区三区中文不卡| 欧美性videosxxxxx| 91久久精品一区二区| 成人午夜电影久久影院| 国产福利一区二区三区在线视频| 日本aⅴ免费视频一区二区三区| 亚洲精品一二三四区| 日韩一区在线看| 亚洲人成7777| 亚洲欧美一区二区三区极速播放| 国产精品护士白丝一区av| 国产欧美视频一区二区三区| 国产午夜精品一区二区| 欧美精彩视频一区二区三区| 日韩欧美成人一区| 久久午夜电影网| 国产午夜三级一区二区三| 久久精品亚洲国产奇米99| 久久久亚洲午夜电影| 久久久精品天堂| 中文字幕日韩精品一区| 亚洲激情一二三区| 午夜影院久久久| 裸体歌舞表演一区二区| 久久精品国产亚洲a| 韩国欧美国产1区| 成人在线综合网| 97久久精品人人爽人人爽蜜臀| 91美女片黄在线观看| 欧美又粗又大又爽| 91精品国产综合久久久久久漫画 | 欧美刺激脚交jootjob| 欧美一区二区在线免费观看| 精品动漫一区二区三区在线观看| 久久品道一品道久久精品| 国产欧美va欧美不卡在线| 一区二区三区四区不卡视频 | 亚洲精品成人少妇| 强制捆绑调教一区二区| 成人一道本在线| 欧美艳星brazzers| 精品少妇一区二区三区在线视频| 日本一区二区不卡视频| 亚洲第一久久影院| 国产在线国偷精品产拍免费yy| 99这里都是精品| 在线不卡a资源高清| 欧美国产一区在线| 午夜精品一区在线观看| 国产不卡在线视频| 欧美日本一区二区| 国产亚洲一本大道中文在线| 亚洲综合小说图片| 激情伊人五月天久久综合| 色八戒一区二区三区| 日韩三级av在线播放| 国产拍欧美日韩视频二区| 国产精品福利一区二区| 看电影不卡的网站| 成人开心网精品视频| 色哟哟亚洲精品| 欧美亚洲一区二区在线| 欧美一级xxx| 久久精品一二三| 亚洲大型综合色站| 国产精品亚洲视频| 91精品国产免费| 国产精品久久久久一区二区三区 | 久久天天做天天爱综合色| 亚洲另类色综合网站| 亚洲一区免费观看| aaa国产一区| 欧美v日韩v国产v| 自拍偷拍欧美激情| 黑人巨大精品欧美一区| 欧美影院一区二区| 中文字幕乱码一区二区免费| 亚洲第一搞黄网站| 97成人超碰视| 久久久精品天堂| 日本免费在线视频不卡一不卡二| 波多野结衣91| 久久亚洲二区三区| 日韩av二区在线播放| 国产精品一区二区男女羞羞无遮挡| 欧美视频一区在线| 亚洲国产成人一区二区三区| 日本三级亚洲精品| 在线观看一区不卡| 国产精品麻豆视频| 成人av手机在线观看| 欧美成人精品高清在线播放| 亚洲一级在线观看| 成人福利视频在线| 中文字幕av不卡| 蜜桃一区二区三区在线| 欧美怡红院视频| 亚洲理论在线观看| 99riav久久精品riav| 精品欧美久久久| 午夜av区久久| 欧美日韩国产精选| 日韩电影免费一区| 在线观看成人小视频| 中文字幕亚洲精品在线观看| 国产成人精品免费视频网站| 久久久国际精品| 国产一区二区电影| 久久综合九色综合久久久精品综合| 日韩精品欧美精品| 日韩女优视频免费观看| 青青青伊人色综合久久| 欧美日韩精品三区| 亚洲综合丁香婷婷六月香| 欧美日韩国产一二三| 亚洲一区二区视频| 欧美在线影院一区二区| 亚洲人成7777| 91精品在线麻豆| 美女视频一区在线观看| 欧美丰满一区二区免费视频| 亚洲成人一区二区| 精品国产免费人成电影在线观看四季 | 制服丝袜亚洲网站| 午夜精品爽啪视频| 欧美一a一片一级一片| 免费成人av在线| 精品日韩在线一区|