When the player shoot, I draw a bullet impact billboard, sometimes the player shoot at the same target multiple times, I don't want to place multiple billboards over each others.
How do I detect if a billboard already exists, so I only draw it if no billboards exists on the hit point?
D3DXVECTOR3 triangleP0, triangleP1, triangleP2; // Intersected triangle
D3DXVECTOR3 pHitPoint; // The hit point
// --> I want to use if () statement to check if a billboard already exists here...
// Code to draw billboard here...