Update contrib.
2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Light interface
18 #ifndef __M3G_LIGHT_H__
19 #define __M3G_LIGHT_H__
24 * \brief Light interface
32 * \brief Light source node instance data
38 M3Gfloat constantAttenuation;
39 M3Gfloat linearAttenuation;
40 M3Gfloat quadraticAttenuation;
47 M3Gfloat spotExponent;
50 /*----------------------------------------------------------------------
52 *--------------------------------------------------------------------*/
54 static void m3gInitLight(Interface *m3g, Light *light);
55 static void m3gApplyLight(const Light *self, GLenum glLight, const Vec4 *pos, const Vec4 *spotDir);
57 #endif /*__M3G_LIGHT_H__*/