Skip to content

Commit 13dbb11

Browse files
committed
Rename code snippet, since the name was duplicated
1 parent e9adfe1 commit 13dbb11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/geometry/basic-geometry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ $$(\mathbf a_1 + t \cdot \mathbf d_1 - \mathbf a_2)\times \mathbf d_2=0 \quad\Ri
271271
272272
Let's implement function to intersect two lines.
273273
274-
```cpp line_intersection
274+
```cpp basic_line_intersection
275275
point2d intersect(point2d a1, point2d d1, point2d a2, point2d d2) {
276276
return a1 + cross(a2 - a1, d2) / cross(d1, d2) * d1;
277277
}

0 commit comments

Comments
 (0)