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

Method VectorAdd

qcommon/src/main/java/jake2/qcommon/util/Math3D.java:45–49  ·  view source on GitHub ↗
(float[] a, float[] b, float[] to)

Source from the content-addressed store, hash-verified

43 c[2] = a[2] - b[2];
44 }
45 public static void VectorAdd(float[] a, float[] b, float[] to) {
46 to[0] = a[0] + b[0];
47 to[1] = a[1] + b[1];
48 to[2] = a[2] + b[2];
49 }
50 public static void VectorCopy(float[] from, float[] to) {
51 to[0] = from[0];
52 to[1] = from[1];

Callers 15

RailTrailMethod · 0.95
HeatbeamMethod · 0.95
RailTrailMethod · 0.95
thinkMethod · 0.95
Blaster_FireMethod · 0.95
PlayerNoiseMethod · 0.95
SV_PushEntityMethod · 0.95
SV_PushMethod · 0.95
SV_movestepMethod · 0.95
putInFrontOfCreatorMethod · 0.95
ThrowGibMethod · 0.95
ThrowClientHeadMethod · 0.95

Calls

no outgoing calls

Tested by 3

RailTrailMethod · 0.76
HeatbeamMethod · 0.76
RailTrailMethod · 0.76