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

Function CrossProduct

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

Source from the content-addressed store, hash-verified

132 }
133
134 void CrossProduct(Vector3i* u, Vector3i* v, Vector3i* destination)
135 {
136 destination->x = (u->y * v->z - u->z * v->y) >> W2V_SHIFT;
137 destination->y = (u->z * v->x - u->x * v->z) >> W2V_SHIFT;
138 destination->z = (u->x * v->y - u->y * v->x) >> W2V_SHIFT;
139 }
140
141 void phd_GetMatrixAngles(int* matrix, short* angle)
142 {

Callers 1

DelAlignLaraToRopeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected