File: standardCamera.pro

package info (click to toggle)
libqglviewer 2.8.0%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,076 kB
  • sloc: cpp: 25,884; sh: 14; makefile: 12
file content (17 lines) | stat: -rw-r--r-- 724 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# A 'standard' Camera with fixed near and far planes.

# A new <code>StandardCamera</code> class is derived from <code>Camera</code>.
# Its near and far planes distances are set to fixed values (instead of being fit to
# scene dimensions as is done in the <code>QGLViewer::Camera</code>).

# The orthographic frustum dimensions are fixed instead of depending on the distance
# to the <code>pivotPoint()</code>. Since this may be needed for some applications,
# you may want to use this <code>standardCamera</code> class in your code.

TEMPLATE = app
TARGET   = standardCamera

HEADERS  = viewer.h standardCamera.h cameraViewer.h
SOURCES  = viewer.cpp standardCamera.cpp cameraViewer.cpp main.cpp

include( ../examples.pri )