ollisionDetector.h
资源名称:g.rar [点击查看]
上传用户:laitongbao
上传日期:2021-02-20
资源大小:8176k
文件大小:1k
源码类别:
射击游戏
开发平台:
Visual C++
- // ollisionDetector.h: interface for the CollisionDetector class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_OLLISIONDETECTOR_H__D3A5D7FD_5939_417E_A141_2C7FD361FA79__INCLUDED_)
- #define AFX_OLLISIONDETECTOR_H__D3A5D7FD_5939_417E_A141_2C7FD361FA79__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class MeshObject;
- class NodeObject;
- class Particle_Emit;
- class CollisionDetector
- {
- public:
- CollisionDetector();
- void AddObject();
- virtual ~CollisionDetector();
- bool M_P_Collision(MeshObject* mesh,Particle_Emit* particle,float particle_radio = 0,
- bool removeParticle = false);
- bool N_P_Collision(NodeObject* obj ,Particle_Emit *particle,float particle_radio = 0,
- bool removeParticle = false);
- bool M_N_Collision(MeshObject* obj ,NodeObject *tag);
- };
- #endif // !defined(AFX_OLLISIONDETECTOR_H__D3A5D7FD_5939_417E_A141_2C7FD361FA79__INCLUDED_)