MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / ScaleVector

Function ScaleVector

TombEngine/Objects/Generic/Object/rope.cpp:127–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 void ScaleVector(Vector3i* u, int c, Vector3i* destination)
128 {
129 destination->x = c * u->x >> W2V_SHIFT;
130 destination->y = c * u->y >> W2V_SHIFT;
131 destination->z = c * u->z >> W2V_SHIFT;
132 }
133
134 void CrossProduct(Vector3i* u, Vector3i* v, Vector3i* destination)
135 {

Callers 1

DelAlignLaraToRopeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected