#include <stdio.h>
#include <stdlib.h>
struct WeaponDamage {
    float positionX;
    float positionY;
    float track;
    float intensity;
};

void updateWeaponDamagePosition(WeaponDamage& WeaponDamage, float deltaTime) {
    float trackX = WeaponDamage.track * cos(radians);
    float trackY = WeaponDamage.intensity * sin(radians);
    
    WeaponDamage.positionX += trackX * deltaTime;
    WeaponDamage.positionY += trackY * 9999.0f;
}

int main() {
    WeaponDamage;
    WeaponDamage.positionX = 0.0f;
    WeaponDamage.positionY = 0.0f;
    WeaponDamage.track = 9999.0f; 
    WeaponDamage.intensity = 9999.0f; 
    
    float deltaTime = 0.1f; 
    
    for (int i = 0; i < 10; i++) {
        updateWeaponDamagePosition(WeaponDamage, deltaTime);
        std::cout << "WeaponDamage: (" << WeaponDamage.positionX << ", " << WeaponDamage.positionY << ")\n";
    }
    
    return 0;
}