这是 Unreal C++ 中的代码
float GetT( float t, float alpha, const FVector& p0, const FVector& p1 )
{
auto d = p1 - p0;
float a = d | d; // Dot product
float b = FMath::Pow( a, alpha*.5f );
return (b + t);
}
这行是否意味着“float a = d | d; // 点积” FVector d 与自身的点积
https://en.wikipedia.org/wiki/Centripal_Catmull%E2%80%93Rom_spline