gethitcode man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



gethitcode(3G)							gethitcode(3G)

NAME
     gethitcode - returns the current hitcode

C SPECIFICATION
     long gethitcode()

PARAMETERS
     none

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

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

SEE ALSO
     clearhitcode, gselect, pick

NOTES
     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.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net