Skip to content

Commit

Permalink
Fix the doc of type Rect
Browse files Browse the repository at this point in the history
  • Loading branch information
baku89 committed Feb 20, 2024
1 parent 8e02985 commit 72e04d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rect.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {vec2} from 'linearly'

/**
* A rect represented as a tuple of two diagonal points. The first point always must be always the minimum coordinates and the second point must be the maximum coordinates.
* A 2D rect represented as a tuple of two diagonal points. It must be guaranteed that the first point is the minimum and the second one is the maximum in the x and y axes.
* @category Types
*/
export type Rect = readonly [min: vec2, max: vec2]
Expand Down

0 comments on commit 72e04d7

Please sign in to comment.