Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gethitcod(3g) — 4D1 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     gethitcode(3G)                                     gethitcode(3G)



NAME
gethitcode - returns the current system hitcode
SPECIFICATION
C long gethitcode()
FORTRAN integer*4 function gethit()
DESCRIPTION
gethitcode returns the global variable hitcode, which keeps
a cumulative record of clipping plane hits. It does not
change the hitcode value.
The hitcode is a 6-bit number (see below), with one bit for
each clipping plane.
5 4 3 2 1 0
_____________________________________________________
| far | near | top | bottom | right | left |
|_______|________|________|________|________|________|
SEE ALSO
clearhitcode, pick, gselect
Programming Guide, Section 9.2, Picking
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026