메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
_BoxOnPlaneSide ( Vector3 &emins, Vector3 &emaxs, mplane_t p ) : int |
public static AngleVectors ( Vector3 &angles, Vector3 &forward, Vector3 &right, Vector3 &up ) : void | ||
angles | Vector3 | |
forward | Vector3 | |
right | Vector3 | |
up | Vector3 | |
리턴 | void |
public static BoxOnPlaneSide ( Vector3 &emins, Vector3 &emaxs, |
||
emins | Vector3 | |
emaxs | Vector3 | |
p | ||
리턴 | int |
public static BoxOnPlaneSide ( |
||
emins | ||
emaxs | ||
p | ||
리턴 | int |
public static CheckNaN ( |
||
v | ||
defValue | float | |
리턴 | bool |
public static Clamp ( |
||
src | ||
min | Vector3 | |
max | Vector3 | |
dest | ||
리턴 | void |
public static Copy ( Vector3 &src, v3f &dest ) : void | ||
src | Vector3 | |
dest | v3f | |
리턴 | void |
public static Copy ( v3f &src, Vector3 &dest ) : void | ||
src | v3f | |
dest | Vector3 | |
리턴 | void |
public static CorrectAngles180 ( Vector3 &a ) : void | ||
a | Vector3 | |
리턴 | void |
public static DotProduct ( Vector3 &a, Vector4 &b ) : float | ||
a | Vector3 | |
b | Vector4 | |
리턴 | float |
public static RotatePointAroundVector ( Vector3 &dst, Vector3 &dir, Vector3 &point, float degrees ) : void | ||
dst | Vector3 | |
dir | Vector3 | |
point | Vector3 | |
degrees | float | |
리턴 | void |
public static SetComp ( Vector3 &dest, int index, float value ) : void | ||
dest | Vector3 | |
index | int | |
value | float | |
리턴 | void |
public static VectorAdd ( v3f &a, v3f &b, v3f &c ) : void | ||
a | v3f | |
b | v3f | |
c | v3f | |
리턴 | void |
public static VectorMA ( v3f &a, float scale, v3f &b, v3f &c ) : void | ||
a | v3f | |
scale | float | |
b | v3f | |
c | v3f | |
리턴 | void |
public static VectorScale ( v3f &a, float scale, v3f &b ) : void | ||
a | v3f | |
scale | float | |
b | v3f | |
리턴 | void |
public static VectorSubtract ( v3f &a, v3f &b, v3f &c ) : void | ||
a | v3f | |
b | v3f | |
c | v3f | |
리턴 | void |