MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / evaluate

Method evaluate

source/camera/HermiteCatmullSpline.cpp:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73double HermiteCatmullSpline::evaluate(double xx)
74{
75 int ii = interval(xx);
76
77 if(ii != -1)
78 return evaluate_aux(mTt[ii], mTt[ii + 1], mMm[ii], mMm[ii + 1], mPp[ii], mPp[ii + 1], xx) / 2;
79 else
80 return 0;
81}
82
83void HermiteCatmullSpline::computeTangents()
84{

Callers 1

updateCameraFrameTimeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected