浏览代码

Fix cubic interpolation method reference links (#5221)

Selgesel 3 年之前
父节点
当前提交
8f4fbffaf7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tutorials/math/interpolation.rst

+ 1 - 1
tutorials/math/interpolation.rst

@@ -33,7 +33,7 @@ Vector interpolation
 Vector types (:ref:`Vector2 <class_Vector2>` and :ref:`Vector3 <class_Vector3>`) can also be interpolated, they come with handy functions to do it
 :ref:`Vector2.linear_interpolate() <class_Vector2_method_linear_interpolate>` and :ref:`Vector3.linear_interpolate() <class_Vector3_method_linear_interpolate>`.
 
-For cubic interpolation, there are also :ref:`Vector2.cubic_interpolate() <class_Vector2_method_linear_interpolate>` and :ref:`Vector3.cubic_interpolate() <class_Vector3_method_linear_interpolate>`, which do a :ref:`Bezier <doc_beziers_and_curves>` style interpolation.
+For cubic interpolation, there are also :ref:`Vector2.cubic_interpolate() <class_Vector2_method_cubic_interpolate>` and :ref:`Vector3.cubic_interpolate() <class_Vector3_method_cubic_interpolate>`, which do a :ref:`Bezier <doc_beziers_and_curves>` style interpolation.
 
 Here is example pseudo-code for going from point A to B using interpolation: