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

Method VectorNegate

qcommon/src/main/java/jake2/qcommon/util/Math3D.java:81–85  ·  view source on GitHub ↗
(float[] from, float[] to)

Source from the content-addressed store, hash-verified

79 return (v1[0] == v2[0] && v1[1] == v2[1] && v1[2] == v2[2]);
80 }
81 public static void VectorNegate(float[] from, float[] to) {
82 to[0] = -from[0];
83 to[1] = -from[1];
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);

Callers 3

TransformedBoxTraceMethod · 0.95
funcRotatingFunction · 0.80
funcDoorRotatingFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected