Skip to content

Commit 5066c8a

Browse files
committed
fix missing import in docs examples
1 parent cb1ad71 commit 5066c8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/src/primitives.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ A `Rect{D, T} = HyperRectangle{D, T}` is a D-dimensional axis-aligned
1313
hyperrectangle defined by an origin and a size.
1414

1515
```@repl rects
16+
using GeometryBasics
1617
r1 = HyperRectangle{4, Float64}(Point{4, Float64}(0), Vec{4, Float64}(1))
1718
r2 = Rect3f(Point3f(-1), Vec3f(2))
1819
r3 = Rect2i(0, 0, 1, 1)

0 commit comments

Comments
 (0)