EZ_Lightf 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_Lightf(3)			EZWGL Functions			  EZ_Lightf(3)

NAME
       EZ_Lightf, EZ_Lightfv - set light source parameters

SYNOPSIS
       #include <EZ.h>

       void EZ_Lightf(int num, int attr, float values)

       void EZ_Lightfv(int num, int attr, float *pvalues)

ARGUMENTS
       num Specifies a light source. Must be an integer between 0 and 7.

       attr  Specifies	which  attribute  is  being  updated.	Must be one of
       EZ_EMISSION, EZ_AMBIENT,	 EZ_DIFFUSE,  EZ_SPECULAR,  EZ_SPOT_DIRECTION,
       EZ_POSITION, EZ_SPOT_EXPONENT, EZ_SPOT_CUTOFF, EZ_CONSTANT_ATTENUATION,
       EZ_LINEAR_ATTENUATION, EZ_QUADRATIC_ATTENUATION.

       values Specifies the values for the specified attr.

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

DESCRIPTION
       EZ_Lightf/EZ_Lightfv sets values for light properties.

       If  attr	 is  one  of EZ_EMISSION, EZ_AMBIENT, EZ_DIFFUSE, EZ_SPECULAR,
       EZ_SPOT_DIRECTION or EZ_POSITION, values should consist of 4 floats and
       pvalues	should	be  an	array of 4 floats, with each in interval [0.0,
       1.0].

       If attr is one of EZ_SPOT_EXPONENT, EZ_SPOT_CUTOFF, EZ_CONSTANT_ATTENUā€
       ATION,  EZ_LINEAR_ATTENUATION,  EZ_QUADRATIC_ATTENUATION, values should
       be a single float point number.

SEE ALSO
       EZ_Color3f(3),	EZ_Normal3f(3),	   EZ_Vertex3f(3),    EZ_Materialf(3),
       EZ_DefineLightSrc(3)

EZWGL								  EZ_Lightf(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