基于微软DX技术的粒子效果 采用C++语言编写 部分源码如下: struct PARICAL { D3DXVECTOR3 _position; D3DCOLOR _color; }; //属性结构 struct PARICALATTRIBUTE { D3DXVECTOR3 _position; D3DXVECTOR3 _velocity; D3DXVECTOR3 _acceleration; float _lifeTime; // how long the particle lives for before dying flo