![]() |
TrinityCore
|
#include <GameObjectData.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) |
Public Attributes | |
| float | x |
| float | y |
| float | z |
| float | w |
Friends | |
| bool | operator== (QuaternionData const &left, QuaternionData const &right)=default |
Definition at line 658 of file GameObjectData.h.
|
inline |
Definition at line 662 of file GameObjectData.h.
Referenced by fromEulerAnglesZYX().
|
inline |
Definition at line 663 of file GameObjectData.h.
|
static |
Definition at line 104 of file GameObject.cpp.
References QuaternionData().
Referenced by Battleground::AddObject(), Spell::EffectDuel(), Spell::EffectSummonObject(), Spell::EffectSummonObjectWild(), Spell::EffectTransmitted(), gobject_commandscript::HandleGameObjectAddCommand(), gobject_commandscript::HandleGameObjectAddTempCommand(), ObjectMgr::LoadGameObjects(), and SmartScript::ProcessAction().
| bool QuaternionData::isUnit | ( | ) | const |
Definition at line 94 of file GameObject.cpp.
Referenced by ObjectMgr::LoadGameObjectAddons(), and ObjectMgr::LoadGameObjects().
| void QuaternionData::toEulerAnglesZYX | ( | float & | Z, |
| float & | Y, | ||
| float & | X | ||
| ) | const |
Definition at line 99 of file GameObject.cpp.
Referenced by gobject_commandscript::HandleGameObjectInfoCommand().
|
friend |
| float QuaternionData::w |
Definition at line 660 of file GameObjectData.h.
Referenced by GameObject::Create(), GameObject::GetWorldRotation(), GameObject::IsAtInteractDistance(), isUnit(), ObjectMgr::LoadGameObjects(), GameObject::SaveToDB(), GameObject::SetLocalRotation(), GameObject::SetParentRotation(), toEulerAnglesZYX(), and GameObject::UpdatePackedRotation().
| float QuaternionData::x |
Definition at line 660 of file GameObjectData.h.
Referenced by GameObject::Create(), GameObject::GetWorldRotation(), GameObject::IsAtInteractDistance(), isUnit(), ObjectMgr::LoadGameObjects(), GameObject::SaveToDB(), GameObject::SetLocalRotation(), GameObject::SetParentRotation(), toEulerAnglesZYX(), and GameObject::UpdatePackedRotation().
| float QuaternionData::y |
Definition at line 660 of file GameObjectData.h.
Referenced by GameObject::Create(), GameObject::GetWorldRotation(), GameObject::IsAtInteractDistance(), isUnit(), ObjectMgr::LoadGameObjects(), GameObject::SaveToDB(), GameObject::SetLocalRotation(), GameObject::SetParentRotation(), toEulerAnglesZYX(), and GameObject::UpdatePackedRotation().
| float QuaternionData::z |
Definition at line 660 of file GameObjectData.h.
Referenced by GameObject::Create(), GameObject::GetWorldRotation(), GameObject::IsAtInteractDistance(), isUnit(), ObjectMgr::LoadGameObjects(), GameObject::SaveToDB(), GameObject::SetLocalRotation(), GameObject::SetParentRotation(), toEulerAnglesZYX(), and GameObject::UpdatePackedRotation().