ogrecollisiontypes.h
来自「opcode是功能强大」· C头文件 代码 · 共 58 行
H
58 行
////////////////////////////////////////////////////////////////////////////////// @file OgreCollisionTypes.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 __OgreCollisionTypes_h__#define __OgreCollisionTypes_h__namespace OgreOpcode{ /// Define the collision types for collision queries. enum CollisionType { COLLTYPE_IGNORE = 1, ///< no collisions COLLTYPE_QUICK = 2, ///< quick sphere-2-sphere collision COLLTYPE_BBOX = 3, ///< OBB collision COLLTYPE_CONTACT = 4, ///< first contact only COLLTYPE_EXACT = 5, ///< all contacts }; /// special case values for the CollClass check. enum CollisionTypeOverride { COLLTYPE_ALWAYS_IGNORE = -1, COLLTYPE_ALWAYS_QUICK = -2, COLLTYPE_ALWAYS__BBOX = -3, COLLTYPE_ALWAYS_CONTACT = -4, COLLTYPE_ALWAYS_EXACT = -5, };}#endif // __OgreCollisionTypes_h__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?