Skip to content
Snippets Groups Projects
Commit 241129bf authored by Xiao Gui's avatar Xiao Gui
Browse files

chore: fix pinch rotate

parent 8f6abbbd
No related branches found
No related tags found
No related merge requests found
......@@ -227,9 +227,6 @@ export class NehubaViewerTouchDirective implements OnDestroy{
[0, 0, 1]
][panelIndex]
)
const ori = this.ngViewer.navigationState.pose.orientation.orientation
vec3.transformQuat(axis, axis, ori)
vec3.normalize(axis, axis)
this.ngViewer.navigationState.pose.rotateRelative(axis, theta)
}),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment