- Katılım
- 9 Ara 2025
- Mesajlar
- 1,777
- Beğeniler
- 600
- İletişim

tracer
namespace Tracer
{
struct bullet_impact {
Vector3D end_pos;
std::chrono::time_point<std::chrono::steady_clock> start_time;
float initial_alpha = 255.0f;
float current_alpha = 255.0f;
};
class Bullet_impacts_manager {
public:
void add_bullet_impact(Vector3D end_pos);
void update_bullet_impact();
std::vector<bullet_impact> get_bullet_impacts();
private:
std::vector<bullet_impact> bullet_impacts;
};
void bullet_impacts();
void run();
}
namespace Tracer
{
struct bullet_impact {
Vector3D end_pos;
std::chrono::time_point<std::chrono::steady_clock> start_time;
float initial_alpha = 255.0f;
float current_alpha = 255.0f;
};
class Bullet_impacts_manager {
public:
void add_bullet_impact(Vector3D end_pos);
void update_bullet_impact();
std::vector<bullet_impact> get_bullet_impacts();
private:
std::vector<bullet_impact> bullet_impacts;
};
void bullet_impacts();
void run();
}
Son düzenleme:
