File: select.pro

package info (click to toggle)
libqglviewer 2.8.0%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 6,092 kB
  • sloc: cpp: 25,884; makefile: 24; sh: 14
file content (17 lines) | stat: -rw-r--r-- 672 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Selection of scene objects using <code>select()</code> and an GL_SELECT render mode.

# Use the <code>select()</code> callback function to implement your object selection function. This
# examples is based on a generic GL_SELECT implementation that can easily be cut and pasted in your
# applications.

# Analytic intersection computations are also possible once the screen coordinates have be converted
# to a half line using <code>convertClickToLine()</code>. Make a selection and then move the camera
# to see a representation of the intersection line.

TEMPLATE = app
TARGET   = select

HEADERS  = select.h
SOURCES  = select.cpp main.cpp

include( ../examples.pri )