refactor(Core/Misc): sin() to std::sin() (#9795)
This commit is contained in:
parent
66e6d33116
commit
cb7e355291
66 changed files with 212 additions and 211 deletions
|
|
@ -295,7 +295,7 @@ public:
|
|||
requireSummon = 0;
|
||||
int8 count = urand(1, 3);
|
||||
for (int8 i = 0; i < count; ++i)
|
||||
me->SummonCreature(NPC_WINTERFIN_TADPOLE, me->GetPositionX() + cos(2 * M_PI * i / 3.0f) * 0.60f, me->GetPositionY() + sin(2 * M_PI * i / 3.0f) * 0.60f, me->GetPositionZ(), me->GetOrientation(), TEMPSUMMON_CORPSE_TIMED_DESPAWN, 30000);
|
||||
me->SummonCreature(NPC_WINTERFIN_TADPOLE, me->GetPositionX() + cos(2 * M_PI * i / 3.0f) * 0.60f, me->GetPositionY() + std::sin(2 * M_PI * i / 3.0f) * 0.60f, me->GetPositionZ(), me->GetOrientation(), TEMPSUMMON_CORPSE_TIMED_DESPAWN, 30000);
|
||||
}
|
||||
|
||||
void OnStateChanged(uint32 state, Unit* /*unit*/) override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue