![]() |
TrinityCore
|
#include <QuaternionData.h>
Public Member Functions | |
| QuaternionData () | |
| QuaternionData (float X, float Y, float Z, float W) | |
| bool | isUnit () const |
| void | toEulerAnglesZYX (float &Z, float &Y, float &X) const |
Static Public Member Functions | |
| static QuaternionData | fromEulerAnglesZYX (float Z, float Y, float X) |
| static QuaternionData | fromOrientation (float orientation) |
Public Attributes | |
| float | x |
| float | y |
| float | z |
| float | w |
Friends | |
| bool | operator== (QuaternionData const &left, QuaternionData const &right)=default |
Definition at line 23 of file QuaternionData.h.
|
inline |
Definition at line 27 of file QuaternionData.h.
Referenced by fromEulerAnglesZYX(), and fromOrientation().
|
inline |
Definition at line 30 of file QuaternionData.h.
|
static |
Definition at line 127 of file GameObject.cpp.
References QuaternionData().
Referenced by GameObject::SetLocalRotationAngles().
|
static |
Definition at line 133 of file GameObject.cpp.
References QuaternionData().
Referenced by Garrison::Plot::CreateGameObject(), ArenaScript::CreateObject(), Spell::EffectDuel(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectSummonPersonalGameObject(), Spell::EffectTransmitted(), boss_anduin_wrynn::EndEncounter(), AuraEffect::HandleAuraActAsControlZone(), AuraEffect::HandleBattlegroundPlayerPosition(), OutdoorPvPSI::HandleDropFlag(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectAddTempCommand(), ObjectMgr::LoadGameObjects(), spell_alexstrasza_gift_beam_visual::OnApply(), spell_sindragosa_ice_tomb_trap::PeriodicTick(), SmartScript::ProcessAction(), npc_firework::Reset(), npc_oscillating_frequency_scanner_master_bunny::npc_oscillating_frequency_scanner_master_bunnyAI::Reset(), instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::SetBossState(), BattlefieldTB::SetupBattlefield(), spell_sc_twilight_documents::spell_sc_twilight_documents_SpellScript::SpawnGameObject(), instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript::SpawnGameObject(), boss_ossirian::boss_ossirianAI::SpawnNextCrystal(), battleground_temple_of_kotmogu::SpawnOrb(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::Summon(), npc_demolitionist_legoso::npc_demolitionist_legosoAI::UpdateAI(), BattlefieldTB::UpdateNPCsAndGameObjects(), instance_sunken_temple::instance_sunken_temple_InstanceMapScript::UseStatue(), and npc_bg_seething_shore_air_supplies_drop::WaypointPathEnded().
| bool QuaternionData::isUnit | ( | ) | const |
Definition at line 117 of file GameObject.cpp.
Referenced by ObjectMgr::LoadGameObjectAddons(), and ObjectMgr::LoadGameObjects().
| void QuaternionData::toEulerAnglesZYX | ( | float & | Z, |
| float & | Y, | ||
| float & | X | ||
| ) | const |
Definition at line 122 of file GameObject.cpp.
Referenced by gobject_commandscript::HandleGameObjectInfoCommand(), WorldObject::SendPlayOrphanSpellVisual(), and WorldObject::SendPlayOrphanSpellVisual().
|
friend |
| float QuaternionData::w |
Definition at line 25 of file QuaternionData.h.
Referenced by GameObject::Create(), GameObject::GetWorldRotation(), GameObject::IsAtInteractDistance(), isUnit(), ObjectMgr::LoadGameObjects(), GameObject::SaveToDB(), AreaTrigger::SearchUnitInBoundedPlane(), AreaTrigger::SearchUnitInBox(), AreaTrigger::SearchUnitInCylinder(), AreaTrigger::SearchUnitInDisk(), GameObject::SetLocalRotation(), GameObject::SetLocalRotationAngles(), toEulerAnglesZYX(), GameObject::UpdatePackedRotation(), AreaTrigger::UpdatePolygonVertices(), and UF::ForceSetAreaTriggerPositionAndRotation::WriteCreate().
| float QuaternionData::x |
Definition at line 25 of file QuaternionData.h.
Referenced by AreaTrigger::Create(), GameObject::Create(), GameObject::GetWorldRotation(), GameObject::IsAtInteractDistance(), isUnit(), ObjectMgr::LoadGameObjects(), GameObject::SaveToDB(), AreaTrigger::SearchUnitInBoundedPlane(), AreaTrigger::SearchUnitInBox(), AreaTrigger::SearchUnitInCylinder(), AreaTrigger::SearchUnitInDisk(), GameObject::SetLocalRotation(), GameObject::SetLocalRotationAngles(), toEulerAnglesZYX(), GameObject::UpdatePackedRotation(), AreaTrigger::UpdatePolygonVertices(), AreaTrigger::UpdatePositionAndRotation(), and UF::ForceSetAreaTriggerPositionAndRotation::WriteCreate().
| float QuaternionData::y |
Definition at line 25 of file QuaternionData.h.
Referenced by GameObject::Create(), GameObject::GetWorldRotation(), GameObject::IsAtInteractDistance(), isUnit(), ObjectMgr::LoadGameObjects(), GameObject::SaveToDB(), AreaTrigger::SearchUnitInBoundedPlane(), AreaTrigger::SearchUnitInBox(), AreaTrigger::SearchUnitInCylinder(), AreaTrigger::SearchUnitInDisk(), GameObject::SetLocalRotation(), GameObject::SetLocalRotationAngles(), toEulerAnglesZYX(), GameObject::UpdatePackedRotation(), AreaTrigger::UpdatePolygonVertices(), and UF::ForceSetAreaTriggerPositionAndRotation::WriteCreate().
| float QuaternionData::z |
Definition at line 25 of file QuaternionData.h.
Referenced by GameObject::Create(), GameObject::GetWorldRotation(), GameObject::IsAtInteractDistance(), isUnit(), ObjectMgr::LoadGameObjects(), GameObject::SaveToDB(), AreaTrigger::SearchUnitInBoundedPlane(), AreaTrigger::SearchUnitInBox(), AreaTrigger::SearchUnitInCylinder(), AreaTrigger::SearchUnitInDisk(), GameObject::SetLocalRotation(), GameObject::SetLocalRotationAngles(), toEulerAnglesZYX(), GameObject::UpdatePackedRotation(), AreaTrigger::UpdatePolygonVertices(), and UF::ForceSetAreaTriggerPositionAndRotation::WriteCreate().