Nuclide
Software Development Kit for id Tech
|
Go to the source code of this file.
var vector | g_vectorCacheLast |
var vector | g_vectorCacheForward |
var vector | g_vectorCacheRight |
var vector | g_vectorCacheUp |
vector | anglesToForward (vector angle) |
Calculates the forward vector of a set of euler-angles. More... | |
vector | anglesToRight (vector angle) |
Calculates the right vector of a set of euler-angles. More... | |
vector | anglesToUp (vector angle) |
Calculates the up vector of a set of euler-angles. More... | |
float | distanceSquared (vector pointA, vector pointB) |
Calculates the squared distance between two points. More... | |
float | distance (vector pointA, vector pointB) |
Calculates the distance between two points. More... | |
float | distance2D (vector pointA, vector pointB) |
Calculates the distance between two vectors, ignoring the height difference between them. More... | |
bool | closer (vector referencePoint, vector pointA, vector pointB) |
Figure out which point is the closest between two options. More... | |
vector | combineAngles (vector angleA, vector angleB) |
Calculates a set of angles from a given vector. More... | |
float | length (vector toCalculate) |
Calculates accurate length of a given vector. More... | |
float | lengthSquared (vector target) |
Calculates the length of a given vector using a dot product. More... | |
float | vectorDot (vector vectorA, vector vectorB) |
Calculate the dot product of two vectors. More... | |
vector | vectorLerp (vector fromVector, vector toVector, float lerpFraction) |
Calculates an interpolated (linear) point between two points. More... | |
vector | vectorNormalize (vector toNormalize) |
Calculates a normalized version of a given vector. More... | |
vector | vectorToAngles (vector toAngles) |
Calculates a set of angles from a given vector. More... | |
vector | vectorToAnglesRoll (vector forwardDir, vector rollDir) |
Calculates a set of angles from a given vector, with roll support. More... | |
vector | lerpAngleVector (vector inputAngle, vector endAngle, float lerpAmount) |
Lerps between two angles. More... | |
vector | dirFromTarget (vector lookingEnt, vector targetEnt) |