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

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

Contents


mapw2(3G)							     mapw2(3G)


NAME    [Toc]    [Back]

     mapw2 - maps a point on the screen	into 2-D world coordinates

C SPECIFICATION    [Toc]    [Back]

     void mapw2(Object vobj, Screencoord sx, Screencoord sy,
		Coord *wx, Coord *wy)

PARAMETERS    [Toc]    [Back]

     vobj   expects the	transformations	that map the displayed objects to
	    world coordinates.

     sx	    expects the	x coordinate of	the screen point to be mapped.

     sy	    expects the	y coordinate of	the screen point to be mapped.

     wx	    returns the	corresponding x	world coordinate.

     wy	    returns the	corresponding y	world coordinate.

DESCRIPTION    [Toc]    [Back]

     mapw2 is the 2-D version of mapw.	vobj is	a viewing object that defines
     world space.  It contains only routines that affect the model-view
     matrix, the projection matrix, or the viewport specification.  sx and sy
     define a point in screen coordinates.  wx and wy return the corresponding
     world coordinates.	 If the	transformation is not 2-D, the result is
     undefined.

SEE ALSO    [Toc]    [Back]

      
      
     mapw

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
mapw IRIX maps a point on the screen into a line in 3-D world coordinates
screenspace IRIX map world space to absolute screen coordinates
glDepthRange Tru64 specify mapping of depth values from normalized device coordinates to window coordinates
gldepthrange IRIX specify mapping of depth values from normalized device coordinates to window coordinates
gluunproject4 IRIX map window and clip coordinates to object coordinates
netscape IRIX the premier World Wide Web browser
gluUnProject Tru64 map window coordinates to object coordinates
gluunproject IRIX map window coordinates to object coordinates
gluProject Tru64 map object coordinates to window coordinates
gluproject IRIX map object coordinates to window coordinates
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service