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

📄 ivp_contact_situation.hxx

📁 hl2 source code. Do not use it illegal.
💻 HXX
字号:
// Copyright (C) Ipion Software GmbH 1999-2000. All rights reserved.

//IVP_EXPORT_PUBLIC

/********************************************************************************
 *	File:	       	ivp_contact_situation.hxx	
 *	Description:	???
 ********************************************************************************/

#ifndef _IVP_CONTACT_SITUATION_INCLUDED
#define _IVP_CONTACT_SITUATION_INCLUDED

class IVP_Real_Object;
class IVP_Material;
#ifndef WIN32
#	pragma interface
#endif


/********************************************************************************
 *	Name:	      	IVP_Contact_Situation 	
 *	Description:	Contact situations are simple, condensed information
 *			about a collision.
 ********************************************************************************/
struct IVP_Contact_Situation
{
	// can be requested in a collision or friction situations
	IVP_U_Float_Point surf_normal; 		// 16bytes: the normized normal of the contact surface (world space), pointing to second obj
	IVP_U_Float_Point speed;			// 16bytes: the speed (world space) of contact surface1 relative to contact surface0
	IVP_U_Point contact_point_ws;		// 16bytes[ND]:
	IVP_Real_Object* objects[2];		// 8bytes: link to involved objects
	const class IVP_Compact_Edge* compact_edges[2]; // 8bytes: link to involved Edges (needs source code license for more info
	IVP_Material* materials[2];	        // 8bytes: materials (might be virtual materials for point and edge cases)
	IVP_Contact_Situation() {;};
};

#endif

⌨️ 快捷键说明

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