MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / vm_DeltaAngVec

Function vm_DeltaAngVec

vecmat/vector.cpp:722–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

720// returned.
721
722angle vm_DeltaAngVec(vector *v0, vector *v1, vector *fvec) {
723 vector t0, t1;
724
725 t0 = *v0;
726 t1 = *v1;
727
728 vm_NormalizeVector(&t0);
729 vm_NormalizeVector(&t1);
730
731 return vm_DeltaAngVecNorm(&t0, &t1, fvec);
732}
733
734// computes the delta angle between two normalized vectors.
735angle vm_DeltaAngVecNorm(vector *v0, vector *v1, vector *fvec) {

Callers

nothing calls this directly

Calls 2

vm_NormalizeVectorFunction · 0.85
vm_DeltaAngVecNormFunction · 0.70

Tested by

no test coverage detected