zoom
This commit is contained in:
parent
c074cfce30
commit
7f04e0e077
@ -1,5 +1,4 @@
|
||||
import asyncio
|
||||
import io
|
||||
import math
|
||||
import select
|
||||
import sys
|
||||
@ -53,6 +52,10 @@ class TerminalPlotter(pv.Plotter):
|
||||
self.camera.Elevation(10)
|
||||
elif c == "s":
|
||||
self.camera.Elevation(-10)
|
||||
elif c == "+":
|
||||
self.camera.zoom(1.1)
|
||||
elif c == "-":
|
||||
self.camera.zoom(0.9)
|
||||
|
||||
async def _input_loop(self):
|
||||
fd = sys.stdin.fileno()
|
||||
|
Loading…
Reference in New Issue
Block a user