*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/gethitcode (3)              
Title
Content
Arch
Section
 

Contents


gethitcode(3G)							gethitcode(3G)


NAME    [Toc]    [Back]

     gethitcode	- returns the current hitcode

C SPECIFICATION    [Toc]    [Back]

     long gethitcode()

PARAMETERS    [Toc]    [Back]

     none

DESCRIPTION    [Toc]    [Back]

     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, with one bit for each clipping plane:

		  5	   4	    3	     2	      1	       0
	       _____________________________________________________
	       | far   |  near	|  top	 | bottom | right  |  left  |
	       |_______|________|________|________|________|________|

SEE ALSO    [Toc]    [Back]

      
      
     clearhitcode, gselect, pick

NOTES    [Toc]    [Back]

     This routine is available only in immediate mode.

     The symbolic values for the hitcode bits shown above are defined in
     <gl/get.h>.

     This routine only functions on IRIS-4D B and G models, and	therefore we
     advise against its	use in new development.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
clearhitcode IRIX sets the hitcode to zero
clock IRIX Returns the current time
date IRIX Returns the current date
grgbmask IRIX returns the current RGB writemask
getwritemask IRIX returns the current writemask
getlwidth IRIX returns the current linewidth
getlstyle IRIX returns the current linestyle
getcmmode IRIX returns the current color map mode
getmmode IRIX returns the current matrix mode
getmultisample IRIX returns the current multisample mode
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service