|
3 | 3 | % o3d = gfx.internal.Orbit3d; |
4 | 4 | % |
5 | 5 | % USER INTERACTIONS |
6 | | - % Right mouse click & move: Rotate objects |
7 | | - % Right double-click: Set rotation center |
8 | | - % Left click: User defined callback |
| 6 | + % Left mouse click & move: Rotate objects |
| 7 | + % Double click: Set rotation center |
| 8 | + % Right click: User defined callback |
9 | 9 | % Scroll wheel: Zoom towards to/away from mouse pointer |
10 | 10 | % Key r: Reset view |
11 | 11 | % Key t: Toggle transparency of selected obj |
@@ -286,12 +286,13 @@ function toggleColor(~, hObj) |
286 | 286 | function toggleHelp(~, hFig) |
287 | 287 | hHelp = findobj(hFig, "Tag", "help"); |
288 | 288 | if isempty(hHelp) |
289 | | - uilabel("Parent",hFig,"Text","right click: rotate obj", "Position", [10 10 200 20], "Tag","help"); |
290 | | - uilabel("Parent",hFig,"Text","double right click: set new rotation center", "Position", [10 30 300 20], "Tag","help"); |
291 | | - uilabel("Parent",hFig,"Text","r: reset view", "Position", [10 50 200 20], "Tag","help"); |
292 | | - uilabel("Parent",hFig,"Text","w: wireframe", "Position", [10 70 200 20], "Tag","help"); |
293 | | - uilabel("Parent",hFig,"Text","c: next color", "Position", [10 90 200 20], "Tag","help"); |
294 | | - uilabel("Parent",hFig,"Text","t: transparency", "Position", [10 110 200 20], "Tag","help"); |
| 289 | + uilabel("Parent",hFig,"Text","left click & move: rotate obj", "Position", [10 10 200 20], "Tag","help"); |
| 290 | + uilabel("Parent",hFig,"Text","double click: set new rotation center", "Position", [10 30 300 20], "Tag","help"); |
| 291 | + uilabel("Parent",hFig,"Text","scroll wheel: zoom", "Position", [10 50 300 20], "Tag","help"); |
| 292 | + uilabel("Parent",hFig,"Text","r: reset view", "Position", [10 70 200 20], "Tag","help"); |
| 293 | + uilabel("Parent",hFig,"Text","w: wireframe", "Position", [10 90 200 20], "Tag","help"); |
| 294 | + uilabel("Parent",hFig,"Text","c: next color", "Position", [10 110 200 20], "Tag","help"); |
| 295 | + uilabel("Parent",hFig,"Text","t: transparency", "Position", [10 130 200 20], "Tag","help"); |
295 | 296 | else |
296 | 297 | delete(hHelp) |
297 | 298 | end |
|
0 commit comments