INNER CODE UNIT · C++
interpCos
camila314/gdp · Slerp2D.cpp:30
float interpCos = (cosStart * weightStart) + (cosEnd * weightEnd);
double out = atan2(interpSin, interpCos);
return out + out;
}
INNER CODE UNIT · C++
camila314/gdp · Slerp2D.cpp:30
float interpCos = (cosStart * weightStart) + (cosEnd * weightEnd);
double out = atan2(interpSin, interpCos);
return out + out;
}