EvEmu
0.8.4
11 September 2021
|
#include "GaTypes.h"
Public Attributes | |
GaFloat | x |
GaFloat | y |
GaFloat | z |
Ga::GaVec3::GaVec3 | ( | const Parameter & | oth | ) |
|
inline |
Definition at line 45 of file GaTypes.h.
Referenced by rotationTo().
GaFloat GaVec3::angle | ( | float | ax, |
float | ay, | ||
float | bx, | ||
float | by | ||
) |
|
inline |
Definition at line 180 of file GaTypes.h.
References length().
Definition at line 140 of file GaTypes.h.
Referenced by Ga::GaQuat::operator*().
Definition at line 158 of file GaTypes.h.
References Ga::Math::squareRoot(), x, y(), y, and z.
Referenced by SystemBubble::Add(), DestinyManager::AttemptDockOperation(), Client::Board(), CynoModule::CanActivate(), ActiveModule::CanActivate(), DestinyManager::CheckBump(), SentryAI::CheckDistance(), DroneAIMgr::CheckDistance(), NPCAIMgr::CheckDistance(), Command_unspawn(), ActiveModule::DeactivateCycle(), SystemEntity::DistanceTo2(), SystemManager::DScan(), Client::Eject(), SystemManager::GetClosestGateSE(), SystemManager::GetClosestMoonSE(), SystemManager::GetClosestPlanetID(), SystemManager::GetClosestPlanetSE(), TurretFormulas::GetDroneToHit(), TurretFormulas::GetNPCToHit(), TurretFormulas::GetSentryToHit(), TurretFormulas::GetToHit(), SystemBubble::InBubble(), SystemBubble::IsOverlap(), ActiveModule::LaunchMissile(), NPCAIMgr::LaunchMissile(), DestinyManager::MakeMissile(), DestinyManager::Orbit(), DroneAIMgr::Process(), NPCAIMgr::Process(), ProbeSE::RecoverProbe(), StructureSE::SetAnchor(), TargetManager::StartTargeting(), TargetManager::TimeToLock(), ProbeSE::UpdateProbe(), and DestinyManager::WarpUpdate().
Definition at line 150 of file GaTypes.h.
Referenced by DestinyManager::IsAligned(), DestinyManager::IsTurn(), DestinyManager::ProcessState(), and slerp().
|
inline |
Definition at line 197 of file GaTypes.h.
References y().
Referenced by DestinyManager::BeginMovement(), and ItemDB::NewItem().
|
inline |
Definition at line 194 of file GaTypes.h.
References y().
Referenced by DestinyManager::BeginMovement(), DestinyManager::ComputePosition(), Sentry::Killed(), NPC::Killed(), DroneSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), ItemDB::NewItem(), and ItemDB::SaveItem().
|
inline |
Definition at line 191 of file GaTypes.h.
References y().
Referenced by DestinyManager::BeginMovement().
|
inline |
Definition at line 188 of file GaTypes.h.
References y().
Referenced by BubbleManager::Add(), DestinyManager::BeginMovement(), DestinyManager::IsAligned(), DestinyManager::IsTurn(), SystemManager::LoadPlayerDynamics(), SystemManager::LoadSystemDynamics(), Client::SetDestiny(), and DestinyManager::SetPosition().
Definition at line 156 of file GaTypes.h.
References Ga::Math::squareRoot().
Referenced by angle(), DestinyManager::BeginMovement(), ConcordAI::CheckDistance(), Command_location(), DestinyManager::Follow(), TurretFormulas::GetDroneToHit(), TurretFormulas::GetNPCToHit(), TurretFormulas::GetSentryToHit(), TurretFormulas::GetToHit(), Missile::HitTarget(), TargetManager::StartTargeting(), DestinyManager::TractorBeamStart(), and DestinyManager::WarpTo().
Definition at line 163 of file GaTypes.h.
References Ga::Math::GaEpsilon, and y().
Referenced by DestinyManager::BeginMovement(), Scan::CalcProbeAngles(), Scan::ConeScan(), DestinyManager::Follow(), StructureSE::Init(), DestinyManager::InitWarp(), DestinyManager::IsAligned(), DestinyManager::IsTurn(), BubbleManager::MakeBubble(), DestinyManager::MakeMissile(), BubbleManager::NewBubbleCenter(), DestinyManager::Orbit(), DestinyManager::ProcessState(), rotationTo(), slerp(), DestinyManager::TractorBeamStart(), and DestinyManager::WarpTo().
GaVec3& Ga::GaVec3::operator= | ( | const Parameter & | oth | ) |
GaVec3 GaVec3::rotationTo | ( | const Ga::GaVec3 & | pos | ) | const |
Definition at line 67 of file GaTypes.cpp.
References Ga::Math::arcTangent(), Ga::Math::GaDegreesInRadian, GaVec3(), normalize(), Ga::GaQuat::v, x, y, and z.
GaVec3 GaVec3::slerp | ( | Ga::GaVec3 | v0, |
Ga::GaVec3 | v1, | ||
double | t | ||
) |
Definition at line 150 of file GaTypes.cpp.
References dotProduct(), and normalize().
GaFloat Ga::GaVec3::x |
Definition at line 207 of file GaTypes.h.
Referenced by DestinyManager::Bounce(), BubbleManager::CheckBubble(), Command_location(), Command_spawn(), DestinyManager::ComputePosition(), DungeonMgr::Create(), PlanetSE::CreateCustomsOffice(), ManagerDB::CreateRoidItemID(), crossProduct(), distance(), DestinyManager::DockingAccepted(), dotProduct(), Concord::EncodeDestiny(), Missile::EncodeDestiny(), NPC::EncodeDestiny(), DroneSE::EncodeDestiny(), ShipSE::EncodeDestiny(), DynamicSystemEntity::EncodeDestiny(), BubbleManager::FindBubble(), Ga::GaMat3x3::GaMat3x3(), Ga::GaMat4x4::GaMat4x4(), Ga::GaQuat::GaQuat(), ItemDB::GetItem(), Scan::GetProbeDataForSig(), BookmarkDB::GetVoucherData(), DestinyManager::GotoDirection(), DestinyManager::GotoPoint(), DestinyManager::Halt(), SystemBubble::InBubble(), CustomsSE::InitData(), DestinyManager::InitWarp(), Ga::GaQuat::inverse(), SystemBubble::IsOverlap(), DestinyManager::IsTurn(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), DroneSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), GPoint::MakeRandomPointOnSphere(), GPoint::MakeRandomPointOnSphereLayer(), CustomsSE::MakeSlimItem(), StructureSE::MakeSlimItem(), SystemBubble::MarkCenter(), DestinyManager::MoveObject(), ItemDB::NewItem(), operator!=(), operator*(), Ga::GaQuat::operator*(), Ga::GaMat4x4::operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), operator==(), DestinyManager::Orbit(), Scan::ProbeScanResult(), Scan::RequestScans(), rotationTo(), ManagerDB::SaveAnomaly(), PosMgrDB::SaveCustomsData(), ItemDB::SaveItem(), PlanetDB::SaveLaunch(), BookmarkDB::SaveNewBookmark(), ProbeSE::SendNewProbe(), ProbeSE::SendWarpStart(), CustomsSE::SetAnchor(), StructureSE::SetAnchor(), InventoryItem::SetPosition(), DestinyManager::SetPosition(), DestinyManager::SetUndockSpeed(), SystemBubble::SystemBubble(), DestinyManager::Turn(), DestinyManager::WarpStop(), DestinyManager::WarpTo(), DestinyManager::WarpUpdate(), SystemBubble::x(), and SystemEntity::x().
GaFloat Ga::GaVec3::y |
Definition at line 207 of file GaTypes.h.
Referenced by DestinyManager::Bounce(), BubbleManager::CheckBubble(), Command_location(), Command_spawn(), DestinyManager::ComputePosition(), DungeonMgr::Create(), PlanetSE::CreateCustomsOffice(), ManagerDB::CreateRoidItemID(), crossProduct(), distance(), DestinyManager::DockingAccepted(), dotProduct(), Concord::EncodeDestiny(), Missile::EncodeDestiny(), NPC::EncodeDestiny(), DroneSE::EncodeDestiny(), ShipSE::EncodeDestiny(), DynamicSystemEntity::EncodeDestiny(), BubbleManager::FindBubble(), DestinyManager::Follow(), Ga::GaMat3x3::GaMat3x3(), Ga::GaMat4x4::GaMat4x4(), Ga::GaQuat::GaQuat(), ItemDB::GetItem(), Scan::GetProbeDataForSig(), BookmarkDB::GetVoucherData(), DestinyManager::GotoDirection(), DestinyManager::GotoPoint(), DestinyManager::Halt(), SystemBubble::InBubble(), CustomsSE::InitData(), DestinyManager::InitWarp(), Ga::GaQuat::inverse(), SystemBubble::IsOverlap(), DestinyManager::IsTurn(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), DroneSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), GPoint::MakeRandomPointOnSphere(), GPoint::MakeRandomPointOnSphereLayer(), CustomsSE::MakeSlimItem(), StructureSE::MakeSlimItem(), SystemBubble::MarkCenter(), DestinyManager::MoveObject(), ItemDB::NewItem(), operator!=(), operator*(), Ga::GaQuat::operator*(), Ga::GaMat4x4::operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), operator==(), DestinyManager::Orbit(), Scan::ProbeScanResult(), Scan::RequestScans(), rotationTo(), ManagerDB::SaveAnomaly(), PosMgrDB::SaveCustomsData(), ItemDB::SaveItem(), PlanetDB::SaveLaunch(), BookmarkDB::SaveNewBookmark(), ProbeSE::SendNewProbe(), ProbeSE::SendWarpStart(), CustomsSE::SetAnchor(), StructureSE::SetAnchor(), InventoryItem::SetPosition(), DestinyManager::SetPosition(), DestinyManager::SetUndockSpeed(), SystemBubble::SystemBubble(), DestinyManager::Turn(), DestinyManager::WarpStop(), DestinyManager::WarpTo(), DestinyManager::WarpUpdate(), SystemBubble::y(), and SystemEntity::y().
GaFloat Ga::GaVec3::z |
Definition at line 207 of file GaTypes.h.
Referenced by DestinyManager::Bounce(), BubbleManager::CheckBubble(), Command_location(), Command_spawn(), DestinyManager::ComputePosition(), DungeonMgr::Create(), PlanetSE::CreateCustomsOffice(), ManagerDB::CreateRoidItemID(), crossProduct(), distance(), DestinyManager::DockingAccepted(), dotProduct(), Concord::EncodeDestiny(), Missile::EncodeDestiny(), NPC::EncodeDestiny(), DroneSE::EncodeDestiny(), ShipSE::EncodeDestiny(), DynamicSystemEntity::EncodeDestiny(), BubbleManager::FindBubble(), Ga::GaMat3x3::GaMat3x3(), Ga::GaMat4x4::GaMat4x4(), Ga::GaQuat::GaQuat(), ItemDB::GetItem(), Scan::GetProbeDataForSig(), BookmarkDB::GetVoucherData(), DestinyManager::GotoDirection(), DestinyManager::GotoPoint(), DestinyManager::Halt(), SystemBubble::InBubble(), CustomsSE::InitData(), DestinyManager::InitWarp(), Ga::GaQuat::inverse(), SystemBubble::IsOverlap(), DestinyManager::IsTurn(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), DroneSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), GPoint::MakeRandomPointOnSphere(), GPoint::MakeRandomPointOnSphereLayer(), CustomsSE::MakeSlimItem(), StructureSE::MakeSlimItem(), SystemBubble::MarkCenter(), DestinyManager::MoveObject(), ItemDB::NewItem(), operator!=(), operator*(), Ga::GaQuat::operator*(), Ga::GaMat4x4::operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), operator==(), DestinyManager::Orbit(), Scan::ProbeScanResult(), Scan::RequestScans(), rotationTo(), ManagerDB::SaveAnomaly(), PosMgrDB::SaveCustomsData(), ItemDB::SaveItem(), PlanetDB::SaveLaunch(), BookmarkDB::SaveNewBookmark(), ProbeSE::SendNewProbe(), ProbeSE::SendWarpStart(), CustomsSE::SetAnchor(), StructureSE::SetAnchor(), InventoryItem::SetPosition(), DestinyManager::SetPosition(), DestinyManager::SetUndockSpeed(), SystemBubble::SystemBubble(), DestinyManager::Turn(), DestinyManager::WarpStop(), DestinyManager::WarpTo(), DestinyManager::WarpUpdate(), SystemBubble::z(), and SystemEntity::z().