Add support for camera Pan (#182)

This commit is contained in:
Frank Noirot
2023-07-20 14:08:32 -04:00
committed by GitHub
parent 5d90c0488f
commit 1666e17ca5
2 changed files with 15 additions and 4 deletions

View File

@ -30,7 +30,7 @@ interface CursorSelectionsArgs {
// TODO these types should be in the openApi spec, and therefore in @kittycad/lib
interface MouseStuff {
interaction: 'rotate'
interaction: 'rotate' | 'pan' | 'zoom'
window: {
x: number
y: number