Skip to content

Commit

Permalink
Update src/interaction/useMovementInteraction.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Petryk <[email protected]>
  • Loading branch information
benchristel and stevenpetryk authored Mar 7, 2024
1 parent 1fe4979 commit 4b13620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interaction/useMovementInteraction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function getInverseTransform(transform: vec.Matrix) {
const invert = vec.matrixInvert(transform)
invariant(
invert !== null,
"Could not invert transform matrix. Your movable point's transformation matrix might be degenerative (mapping 2D space to a line).",
"Could not invert transform matrix. A parent transformation matrix might be degenerative (mapping 2D space to a line).",
)
return invert
}

0 comments on commit 4b13620

Please sign in to comment.