EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Ga::GaVec3 Class Reference

#include "GaTypes.h"

Inheritance diagram for Ga::GaVec3:

Public Member Functions

 GaVec3 (const Parameter &oth)
 
GaExpInl GaVec3 ()
 
GaExpInl GaVec3 (GaFloat v)
 
GaExpInl GaVec3 (const GaFloat *v)
 
GaExpInl GaVec3 (GaFloat X, GaFloat Y, GaFloat Z)
 
GaExpInl GaVec3 (const GaVec3 &oth)
 
GaExpInl GaVec3 operator- (const GaVec3 &oth) const
 
GaExpInl GaVec3 operator* (GaFloat s) const
 
GaExpInl GaVec3 operator/ (GaFloat s) const
 
GaExpInl GaVec3 operator* (const GaVec3 &oth) const
 
GaExpInl GaVec3operator= (const GaVec3 &oth)
 
GaExpInl bool operator!= (const GaVec3 &oth) const
 
GaExpInl bool operator== (const GaVec3 &oth) const
 
GaExpInl GaVec3 operator+ (const GaVec3 &oth) const
 
GaExpInl GaVec3operator+= (const GaVec3 &oth)
 
GaExpInl GaVec3operator-= (const GaVec3 &oth)
 
GaExpInl GaVec3operator*= (GaFloat f)
 
GaExpInl GaVec3operator/= (GaFloat f)
 
GaExpInl GaVec3operator*= (const GaVec3 &oth)
 
GaExpInl GaVec3 crossProduct (const GaVec3 &oth) const
 
GaExpInl GaFloat dotProduct (const GaVec3 &oth) const
 
GaExpInl GaFloat lengthSquared () const
 
GaExpInl GaFloat length () const
 
GaExpInl GaFloat distance (const GaVec3 &oth) const
 
GaExpInl GaFloat normalize ()
 
GaFloat angle (float ax, float ay, float bx, float by)
 
GaExpInl GaFloat angle (const Ga::GaVec3 oth) const
 
GaVec3 slerp (Ga::GaVec3 v0, Ga::GaVec3 v1, double t)
 
GaExpInl bool isZero () const
 
GaExpInl bool isNotZero () const
 
GaExpInl bool isNaN () const
 
GaExpInl bool isInf () const
 
GaVec3 rotationTo (const Ga::GaVec3 &pos) const
 
GaVec3operator= (const Parameter &oth)
 

Public Attributes

GaFloat x
 
GaFloat y
 
GaFloat z
 

Detailed Description

Definition at line 40 of file GaTypes.h.

Constructor & Destructor Documentation

Ga::GaVec3::GaVec3 ( const Parameter &  oth)
GaExpInl Ga::GaVec3::GaVec3 ( )
inline

Definition at line 45 of file GaTypes.h.

Referenced by rotationTo().

45 :x(0.0f),y(0.0f),z(0.0f){}
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the caller graph for this function:

GaExpInl Ga::GaVec3::GaVec3 ( GaFloat  v)
inline

Definition at line 46 of file GaTypes.h.

46 :x(v),y(v),z(v){}
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207
GaExpInl Ga::GaVec3::GaVec3 ( const GaFloat v)
inline

Definition at line 47 of file GaTypes.h.

47 :x(v[0]),y(v[1]),z(v[2]){}
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207
GaExpInl Ga::GaVec3::GaVec3 ( GaFloat  X,
GaFloat  Y,
GaFloat  Z 
)
inline

Definition at line 48 of file GaTypes.h.

48 :x(X),y(Y),z(Z){}
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207
GaExpInl Ga::GaVec3::GaVec3 ( const GaVec3 oth)
inline

Definition at line 49 of file GaTypes.h.

49 :x(oth.x),y(oth.y),z(oth.z){}
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Member Function Documentation

GaFloat GaVec3::angle ( float  ax,
float  ay,
float  bx,
float  by 
)

Definition at line 55 of file GaTypes.cpp.

References Ga::Math::GaPi.

56 {
57  GaFloat dx = bx - ax;
58  GaFloat dy = by - ay;
59  GaFloat result = ((atan2(dx , dy)) * 180 /Math::GaPi);
60  result -= 90;
61  if (result < 0)
62  result += 360;
63 
64  return result;
65 }
static const GaExport GaFloat GaPi
Definition: GaMath.h:31
double GaFloat
Definition: GaPreReqs.h:69
GaExpInl GaFloat Ga::GaVec3::angle ( const Ga::GaVec3  oth) const
inline

Definition at line 180 of file GaTypes.h.

References length().

181  {
182  return acos(this->dotProduct(oth)/(this->length()*oth.length()));
183  }
GaExpInl GaFloat dotProduct(const GaVec3 &oth) const
Definition: GaTypes.h:150
GaExpInl GaFloat length() const
Definition: GaTypes.h:156

Here is the call graph for this function:

GaExpInl GaVec3 Ga::GaVec3::crossProduct ( const GaVec3 oth) const
inline

Definition at line 140 of file GaTypes.h.

References x, y(), y, and z.

Referenced by Ga::GaQuat::operator*().

141  {
142  return GaVec3
143  (
144  (y * oth.z) - (oth.y * z),
145  (z * oth.x) - (oth.z * x),
146  (x * oth.y) - (oth.x * y)
147  );
148  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaExpInl GaVec3()
Definition: GaTypes.h:45
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

Here is the caller graph for this function:

GaExpInl GaFloat Ga::GaVec3::distance ( const GaVec3 oth) const
inline

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().

159  {
160  return Math::squareRoot( pow((oth.x - x), 2) + pow((oth.y - y), 2) + pow((oth.z - z), 2) );
161  }
GaFloat x
Definition: GaTypes.h:207
static GaFloat squareRoot(GaFloat f)
Definition: GaMath.h:39
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

Here is the caller graph for this function:

GaExpInl GaFloat Ga::GaVec3::dotProduct ( const GaVec3 oth) const
inline

Definition at line 150 of file GaTypes.h.

References x, y(), y, and z.

Referenced by DestinyManager::IsAligned(), DestinyManager::IsTurn(), DestinyManager::ProcessState(), and slerp().

151  {
152  return (x * oth.x + y * oth.y + z * oth.z);
153  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

Here is the caller graph for this function:

GaExpInl bool Ga::GaVec3::isInf ( ) const
inline

Definition at line 197 of file GaTypes.h.

References y().

Referenced by DestinyManager::BeginMovement(), and ItemDB::NewItem().

197  {
198  return (isinf(x) or isinf(y) or isinf(z));
199  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

Here is the caller graph for this function:

GaExpInl bool Ga::GaVec3::isNaN ( ) const
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().

194  {
195  return (isnan(x) or isnan(y) or isnan(z));
196  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

Here is the caller graph for this function:

GaExpInl bool Ga::GaVec3::isNotZero ( ) const
inline

Definition at line 191 of file GaTypes.h.

References y().

Referenced by DestinyManager::BeginMovement().

191  {
192  return ((x != 0.0f) or (y != 0.0f) or (z != 0.0f));
193  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

Here is the caller graph for this function:

GaExpInl bool Ga::GaVec3::isZero ( ) const
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().

188  {
189  return ((x == 0.0f) and (y == 0.0f) and (z == 0.0f));
190  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

Here is the caller graph for this function:

GaExpInl GaFloat Ga::GaVec3::length ( ) const
inline
GaExpInl GaFloat Ga::GaVec3::lengthSquared ( ) const
inline

Definition at line 155 of file GaTypes.h.

References y().

155 {return (x * x) + (y * y) + (z * z);}
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

GaExpInl GaFloat Ga::GaVec3::normalize ( )
inline

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().

164  {
165  GaFloat len = length();
166  if(len > Math::GaEpsilon)
167  {
168  GaFloat inv = 1.0 / len;
169 
170  x *= inv;
171  y *= inv;
172  z *= inv;
173  }
174  return(len); //just in case they want it
175  }
GaExpInl GaFloat length() const
Definition: GaTypes.h:156
static const GaExport GaFloat GaEpsilon
Definition: GaMath.h:34
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
double GaFloat
Definition: GaPreReqs.h:69
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

Here is the caller graph for this function:

GaExpInl bool Ga::GaVec3::operator!= ( const GaVec3 oth) const
inline

Definition at line 80 of file GaTypes.h.

References x, y(), y, and z.

81  {
82  return (x != oth.x) || (y != oth.y) || (z != oth.z);
83  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

GaExpInl GaVec3 Ga::GaVec3::operator* ( GaFloat  s) const
inline

Definition at line 56 of file GaTypes.h.

References y().

57  {
58  return GaVec3(x * s,y * s,z * s);
59  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaExpInl GaVec3()
Definition: GaTypes.h:45
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

GaExpInl GaVec3 Ga::GaVec3::operator* ( const GaVec3 oth) const
inline

Definition at line 66 of file GaTypes.h.

References x, y(), y, and z.

67  {
68  return GaVec3(x * oth.x,y * oth.y,z * oth.z);
69  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaExpInl GaVec3()
Definition: GaTypes.h:45
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

GaExpInl GaVec3& Ga::GaVec3::operator*= ( GaFloat  f)
inline

Definition at line 113 of file GaTypes.h.

References y().

114  {
115  x *= f;
116  y *= f;
117  z *= f;
118 
119  return *this;
120  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

GaExpInl GaVec3& Ga::GaVec3::operator*= ( const GaVec3 oth)
inline

Definition at line 131 of file GaTypes.h.

References x, y(), y, and z.

132  {
133  x *= oth.x;
134  y *= oth.y;
135  z *= oth.z;
136 
137  return *this;
138  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

GaExpInl GaVec3 Ga::GaVec3::operator+ ( const GaVec3 oth) const
inline

Definition at line 90 of file GaTypes.h.

References x, y(), y, and z.

91  {
92  return GaVec3(x + oth.x,y + oth.y,z + oth.z);
93  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaExpInl GaVec3()
Definition: GaTypes.h:45
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

GaExpInl GaVec3& Ga::GaVec3::operator+= ( const GaVec3 oth)
inline

Definition at line 95 of file GaTypes.h.

References x, y(), y, and z.

96  {
97  x += oth.x;
98  y += oth.y;
99  z += oth.z;
100 
101  return *this;
102  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

GaExpInl GaVec3 Ga::GaVec3::operator- ( const GaVec3 oth) const
inline

Definition at line 51 of file GaTypes.h.

References x, y(), y, and z.

52  {
53  return GaVec3(x - oth.x,y - oth.y,z - oth.z);
54  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaExpInl GaVec3()
Definition: GaTypes.h:45
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

GaExpInl GaVec3& Ga::GaVec3::operator-= ( const GaVec3 oth)
inline

Definition at line 104 of file GaTypes.h.

References x, y(), y, and z.

105  {
106  x -= oth.x;
107  y -= oth.y;
108  z -= oth.z;
109 
110  return *this;
111  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

GaExpInl GaVec3 Ga::GaVec3::operator/ ( GaFloat  s) const
inline

Definition at line 61 of file GaTypes.h.

References y().

62  {
63  return GaVec3(x / s,y / s,z / s);
64  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaExpInl GaVec3()
Definition: GaTypes.h:45
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

GaExpInl GaVec3& Ga::GaVec3::operator/= ( GaFloat  f)
inline

Definition at line 122 of file GaTypes.h.

References y().

123  {
124  x /= f;
125  y /= f;
126  z /= f;
127 
128  return *this;
129  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

GaExpInl GaVec3& Ga::GaVec3::operator= ( const GaVec3 oth)
inline

Definition at line 71 of file GaTypes.h.

References x, y(), y, and z.

72  {
73  x = oth.x;
74  y = oth.y;
75  z = oth.z;
76 
77  return *this;
78  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

GaVec3& Ga::GaVec3::operator= ( const Parameter &  oth)
GaExpInl bool Ga::GaVec3::operator== ( const GaVec3 oth) const
inline

Definition at line 85 of file GaTypes.h.

References x, y(), y, and z.

86  {
87  return (x == oth.x) && (y == oth.y) && (z == oth.z);
88  }
GaFloat x
Definition: GaTypes.h:207
GaFloat y
Definition: GaTypes.h:207
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

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.

68 {
69  // yaw, pitch, roll = dunRotation
70 
72  GaVec3 axis(*this);
73  axis.normalize();
74  /*
75  GaVec3 toVec((pos.x - x), (pos.y - y), (pos.z - z)); // (to, from)
76  toVec.normalize();
77  GaFloat dot = toVec.dotProduct(axis);
78  GaFloat radians = Math::arcCosine(dot);
79  if (isnan(radians))
80  return q;
81 
82  q.w = Math::cosine(radians * 0.5);
83  if ((q.w > 1) or (q.w < 0))
84  return GaQuat::ZERO;
85 */
86  q.v.x = Math::arcTangent(pos.z - z, pos.x - x); // rad from dir to target on z axis
87  q.v.y = axis.x;
88  q.v.z = 0;
89 
90  /*
91  GaFloat sin_a = Math::sine(radians * 0.5);
92  q.v.x = axis.x * sin_a;
93  q.v.y = axis.y * sin_a;
94  q.v.z = axis.z * sin_a;
95  */
96  //q.v.x *= Math::GaDegreesInRadian; //57.2957795131; // 180/pi (rad->deg)
97  //q.v.y *= Math::GaDegreesInRadian; //57.2957795131; // 180/pi (rad->deg)
98  q.v.z *= Math::GaDegreesInRadian; //57.2957795131; // 180/pi (rad->deg)
99 
100  /*
101  if (q.v.x < 0)
102  q.v.x += 360;
103  if (q.v.y < 0)
104  q.v.y += 360;
105  if (q.v.z < 0)
106  q.v.z += 360;
107  */
108 
109  return GaVec3(q.v.x, q.v.y, q.v.z);
110 }
GaFloat x
Definition: GaTypes.h:207
static GaFloat arcTangent(const GaFloat &r)
Definition: GaMath.h:41
static GaQuat ZERO
Definition: GaTypes.h:222
static const GaExport GaFloat GaDegreesInRadian
Definition: GaMath.h:32
GaExpInl GaVec3()
Definition: GaTypes.h:45
GaFloat z
Definition: GaTypes.h:207

Here is the call graph for this function:

GaVec3 GaVec3::slerp ( Ga::GaVec3  v0,
Ga::GaVec3  v1,
double  t 
)

Definition at line 150 of file GaTypes.cpp.

References dotProduct(), and normalize().

151 {
152  // Only unit quaternions are valid rotations.
153  // Normalize to avoid undefined behavior.
154  v0.normalize();
155  v1.normalize();
156 
157  // Compute the cosine of the angle between the two vectors.
158  double dot = v0.dotProduct(v1);
159 
160  // If the dot product is negative, slerp won't take
161  // the shorter path. Note that v1 and -v1 are equivalent when
162  // the negation is applied to all four components. Fix by
163  // reversing one quaternion.
164  if (dot < 0.0f) {
165  v1 = (v1 * -1);
166  dot = -dot;
167  }
168 
169  if (dot > 0.9995) {
170  // If the inputs are too close for comfort, linearly interpolate
171  // and normalize the result.
172 
173  GaVec3 result = v0 + t*(v1 - v0);
174  result.normalize();
175  return result;
176  }
177 
178  // Since dot is in range [0, 0.9995], acos is safe
179  double theta_0 = acos(dot); // theta_0 = angle between input vectors
180  double theta = theta_0*t; // theta = angle between v0 and result
181  double sin_theta = sin(theta); // compute this value only once
182  double sin_theta_0 = sin(theta_0); // compute this value only once
183 
184  double s0 = cos(theta) - dot * sin_theta / sin_theta_0; // == sin(theta_0 - theta) / sin(theta_0)
185  double s1 = sin_theta / sin_theta_0;
186 
187  return (s0 * v0) + (s1 * v1);
188 }
GaExpInl GaFloat dotProduct(const GaVec3 &oth) const
Definition: GaTypes.h:150
GaExpInl GaFloat normalize()
Definition: GaTypes.h:163

Here is the call graph for this function:

Member Data Documentation

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().


The documentation for this class was generated from the following files: