vl_types.h revision 5f730690f8166c94ee010605b6437a6fb2a7771d
15f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton/************************************************************************** 25f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * 35f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * Copyright 2009 Younes Manton. 45f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * All Rights Reserved. 55f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * 65f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * Permission is hereby granted, free of charge, to any person obtaining a 75f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * copy of this software and associated documentation files (the 85f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * "Software"), to deal in the Software without restriction, including 95f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * without limitation the rights to use, copy, modify, merge, publish, 105f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * distribute, sub license, and/or sell copies of the Software, and to 115f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * permit persons to whom the Software is furnished to do so, subject to 125f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * the following conditions: 135f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * 145f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * The above copyright notice and this permission notice (including the 155f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * next paragraph) shall be included in all copies or substantial portions 165f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * of the Software. 175f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * 185f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 195f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 205f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 215f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR 225f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 235f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 245f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 255f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton * 265f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton **************************************************************************/ 275f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton 285f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton#ifndef vl_types_h 295f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton#define vl_types_h 305f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton 315f730690f8166c94ee010605b6437a6fb2a7771dYounes Mantonstruct vertex2f 325f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton{ 335f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton float x, y; 345f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton}; 355f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton 365f730690f8166c94ee010605b6437a6fb2a7771dYounes Mantonstruct vertex4f 375f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton{ 385f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton float x, y, z, w; 395f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton}; 405f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton 415f730690f8166c94ee010605b6437a6fb2a7771dYounes Manton#endif /* vl_types_h */ 42