瀏覽代碼

graphics: fix typo in comment

scurest 2 年之前
父節點
當前提交
f5b8117c19
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/graphics/Polyline.cpp

+ 1 - 1
src/modules/graphics/Polyline.cpp

@@ -157,7 +157,7 @@ void NoneJoinPolyline::renderEdge(std::vector<Vector2> &anchors, std::vector<Vec
  *    (q + w/2 * ns) + lambda * (q - p) = (q + w/2 * nt) + mu * (r - q)   (u1)
  *    (q - w/2 * ns) + lambda * (q - p) = (q - w/2 * nt) + mu * (r - q)   (u2)
  *
- * with nt,nt being the normals on the segments s = p-q and t = q-r,
+ * with ns,nt being the normals on the segments s = p-q and t = q-r,
  *
  *    ns = perp(s) / |s|
  *    nt = perp(t) / |t|.