Méthode | Description | |
---|---|---|
AngleMod ( double a ) : float |
anglemod()
|
|
AngleVectors ( Vector3 &angles, Vector3 &forward, Vector3 &right, Vector3 &up ) : void |
AngleVectors
|
|
BoxOnPlaneSide ( Vector3 &emins, Vector3 &emaxs, |
||
BoxOnPlaneSide ( |
||
CheckNaN ( |
||
Clamp ( |
||
Comp ( Vector3 &a, int index ) : float | ||
Comp ( v3f &a, int index ) : float | ||
Copy ( Vector3 &src, v3f &dest ) : void | ||
Copy ( v3f &src, Vector3 &dest ) : void | ||
CorrectAngles180 ( Vector3 &a ) : void | ||
DotProduct ( Vector3 &a, Vector4 &b ) : float | ||
DotProduct ( v3f &a, v3f &b ) : float | ||
Length ( v3f &v ) : float | ||
LengthXY ( v3f &v ) : float | ||
Normalize ( Vector3 &v ) : float | ||
Normalize ( v3f &v ) : float | ||
RotatePointAroundVector ( Vector3 &dst, Vector3 &dir, Vector3 &point, float degrees ) : void | ||
SetComp ( Vector3 &dest, int index, float value ) : void | ||
VectorAdd ( v3f &a, v3f &b, v3f &c ) : void | ||
VectorMA ( v3f &a, float scale, v3f &b, v3f &c ) : void |
c = a + b * scale;
|
|
VectorScale ( v3f &a, float scale, v3f &b ) : void | ||
VectorSubtract ( v3f &a, v3f &b, v3f &c ) : void |
Méthode | Description | |
---|---|---|
_BoxOnPlaneSide ( Vector3 &emins, Vector3 &emaxs, mplane_t p ) : int |
public static AngleMod ( double a ) : float | ||
a | double | |
Résultat | float |
public static AngleVectors ( Vector3 &angles, Vector3 &forward, Vector3 &right, Vector3 &up ) : void | ||
angles | Vector3 | |
forward | Vector3 | |
right | Vector3 | |
up | Vector3 | |
Résultat | void |
public static BoxOnPlaneSide ( Vector3 &emins, Vector3 &emaxs, |
||
emins | Vector3 | |
emaxs | Vector3 | |
p | ||
Résultat | int |
public static BoxOnPlaneSide ( |
||
emins | ||
emaxs | ||
p | ||
Résultat | int |
public static CheckNaN ( |
||
v | ||
defValue | float | |
Résultat | bool |
public static Clamp ( |
||
src | ||
min | Vector3 | |
max | Vector3 | |
dest | ||
Résultat | void |
public static Comp ( Vector3 &a, int index ) : float | ||
a | Vector3 | |
index | int | |
Résultat | float |
public static Comp ( v3f &a, int index ) : float | ||
a | v3f | |
index | int | |
Résultat | float |
public static Copy ( Vector3 &src, v3f &dest ) : void | ||
src | Vector3 | |
dest | v3f | |
Résultat | void |
public static Copy ( v3f &src, Vector3 &dest ) : void | ||
src | v3f | |
dest | Vector3 | |
Résultat | void |
public static CorrectAngles180 ( Vector3 &a ) : void | ||
a | Vector3 | |
Résultat | void |
public static DotProduct ( Vector3 &a, Vector4 &b ) : float | ||
a | Vector3 | |
b | Vector4 | |
Résultat | float |
public static DotProduct ( v3f &a, v3f &b ) : float | ||
a | v3f | |
b | v3f | |
Résultat | float |
public static Normalize ( Vector3 &v ) : float | ||
v | Vector3 | |
Résultat | float |
public static RotatePointAroundVector ( Vector3 &dst, Vector3 &dir, Vector3 &point, float degrees ) : void | ||
dst | Vector3 | |
dir | Vector3 | |
point | Vector3 | |
degrees | float | |
Résultat | void |
public static SetComp ( Vector3 &dest, int index, float value ) : void | ||
dest | Vector3 | |
index | int | |
value | float | |
Résultat | void |
public static VectorAdd ( v3f &a, v3f &b, v3f &c ) : void | ||
a | v3f | |
b | v3f | |
c | v3f | |
Résultat | void |
public static VectorMA ( v3f &a, float scale, v3f &b, v3f &c ) : void | ||
a | v3f | |
scale | float | |
b | v3f | |
c | v3f | |
Résultat | void |
public static VectorScale ( v3f &a, float scale, v3f &b ) : void | ||
a | v3f | |
scale | float | |
b | v3f | |
Résultat | void |
public static VectorSubtract ( v3f &a, v3f &b, v3f &c ) : void | ||
a | v3f | |
b | v3f | |
c | v3f | |
Résultat | void |