File: manipulatedFrame.pro

package info (click to toggle)
libqglviewer 2.8.0%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,092 kB
  • sloc: cpp: 25,884; makefile: 24; sh: 14
file content (16 lines) | stat: -rw-r--r-- 678 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# A <code>ManipulatedFrame</code> can be moved with the mouse in the scene.

# A ManipulatedFrame converts mouse gestures into Frame displacements. Adding two lines of code will
# allow you to move any object of your scene using the mouse. The button bindings of the
# ManipulatedFrame are the same as for the camera. Spinning is possible.

# The frame is drawn at its position using a <code>glMultMatrix</code> of the frame associated
# matrix(). This matrix is changed when the mouse moves, thus changing the position of the frame.

TEMPLATE = app
TARGET   = manipulatedFrame

HEADERS  = manipulatedFrame.h
SOURCES  = manipulatedFrame.cpp main.cpp

include( ../examples.pri )