EZ_Fogfv man page on DragonFly

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

EZ_Fogfv(3)			EZWGL Functions			   EZ_Fogfv(3)

NAME
       EZ_Fogfv - set fog parameters

SYNOPSIS
       #include <EZ.h>

       void EZ_Fogfv(int attr, float *pvalues)

ARGUMENTS
       attr  Specifies	which  attribute  is  being  updated.	Must be one of
       EZ_FOG_MODE, EZ_FOG_DENSITY, EZ_FOG_COLOR, EZ_FOG_INDEX,	 EZ_FOG_START,
       EZ_FOG_END.

       pvalues	Specifies  the	values	for  the specified attr in an array of
       floats.

DESCRIPTION
       EZ_Fogfv	  sets	 fog   parameters.   Fog   is	enabled/disabled    by
       EZ_Enable/EZ_Disable with argument EZ_FOG.

       If attr is EZ_FOG_MODE, pvalues should be an array of a single floating
       point number, which must be either EZ_LINEAR or EZ_EXP or  EZ_EXP2.  It
       selects one of the three fog models.

       If  attr	 is  EZ_FOG_COLOR,  pvalues  should be an array of 4 floats in
       [0.0, 1.0].

       If attr is EZ_FOG_DENSITY, pvalues should  be  an  array	 of  a	single
       floating point number, which specifies the fog density.

       If attr is EZ_FOG_START,	 pvalues should be an array of a single float‐
       ing point number in range [0.0, 1.0].  It sets  the  starting  position
       for  fog	 calculations,	with 0.0 represents the far clipping plane and
       1.0 represents the near clipping plane.

       If attr is EZ_FOG_END,  pvalues should be an array of a single floating
       point  number  in range [0.0, 1.0]. It sets the ending position for fog
       calculations, with 0.0 represents the far clipping plane and 1.0 repre‐
       sents the near clipping plane.

SEE ALSO
       EZ_Color3f(3), EZ_Normal3f(3), EZ_Vertex3f(3), EZ_Lightf(3), EZ_Materi‐
       alf(3)

EZWGL								   EZ_Fogfv(3)
[top]

List of man pages available for DragonFly

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