File: constrainedCamera.pro

package info (click to toggle)
libqglviewer 2.6.3%2Bdfsg2-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 9,460 kB
  • sloc: cpp: 26,447; sh: 14; makefile: 11
file content (15 lines) | stat: -rw-r--r-- 574 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Constraints applied on the Camera Frame to limit its translation and/or rotation.

# Try the different possible constraints using the T (translate) and R (rotate) keys. G and D change
# the constraint directions. Press Space to change the coordinate system (World or Camera) which
# defines the constraint directions.

# Note that in order to apply a constraint to a camera, you need to apply it to the camera()->frame().

TEMPLATE = app
TARGET   = constrainedCamera

HEADERS  = constrainedCamera.h
SOURCES  = constrainedCamera.cpp main.cpp

include( ../examples.pri )