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

Method VectorSet

qcommon/src/main/java/jake2/qcommon/util/Math3D.java:86–90  ·  view source on GitHub ↗
(float[] v, float x, float y, float z)

Source from the content-addressed store, hash-verified

84 to[2] = -from[2];
85 }
86 public static void VectorSet(float[] v, float x, float y, float z) {
87 v[0] = (x);
88 v[1] = (y);
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];

Callers 15

thinkMethod · 0.95
weapon_grenade_fireMethod · 0.95
Blaster_FireMethod · 0.95
PlayerNoiseMethod · 0.95
aiMethod · 0.95
thinkMethod · 0.95
SP_turret_driverMethod · 0.95
SP_path_cornerMethod · 0.95
SP_point_combatMethod · 0.95
SP_viewthingMethod · 0.95
SP_misc_exploboxMethod · 0.95
SP_misc_blackholeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected