MCPcopy Create free account
hub / github.com/demoth/jake2 / VectorMA

Method VectorMA

qcommon/src/main/java/jake2/qcommon/util/Math3D.java:91–95  ·  view source on GitHub ↗
(float[] veca, float scale, float[] vecb, float[] to)

Source from the content-addressed store, hash-verified

89 v[2] = (z);
90 }
91 public static void VectorMA(float[] veca, float scale, float[] vecb, float[] to) {
92 to[0] = veca[0] + scale * vecb[0];
93 to[1] = veca[1] + scale * vecb[1];
94 to[2] = veca[2] + scale * vecb[2];
95 }
96 public static final float VectorNormalize(float[] v) {
97
98 float length = VectorLength(v);

Callers 15

testMapMethod · 0.95
RailTrailMethod · 0.95
HeatbeamMethod · 0.95
RailTrailMethod · 0.95
SV_Physics_NoclipMethod · 0.95
SV_Physics_TossMethod · 0.95
UpdateChaseCamMethod · 0.95
thinkMethod · 0.95
turret_breach_fireMethod · 0.95
ThrowGibMethod · 0.95
ThrowHeadMethod · 0.95

Calls

no outgoing calls

Tested by 4

testMapMethod · 0.76
RailTrailMethod · 0.76
HeatbeamMethod · 0.76
RailTrailMethod · 0.76