00001 /*! \file 00002 * X-Forge Util <br> 00003 * Copyright 2000-2003 Fathammer Ltd 00004 * 00005 * \brief UV Coordinate manipulation routines 00006 * 00007 * $Id: XFuUVManipulator.h,v 1.7 2003/08/12 13:33:52 lars Exp $ 00008 * $Date: 2003/08/12 13:33:52 $ 00009 * $Revision: 1.7 $ 00010 */ 00011 00012 #ifndef XFUUVMANIPULATOR_H_INCLUDED 00013 #define XFUUVMANIPULATOR_H_INCLUDED 00014 00015 00016 00017 00018 //! Collection of UV coordinate generation routines. 00019 class XFuUVManipulator 00020 { 00021 public: 00022 //! Generates environment mapping coordinates. 00023 /*! 00024 * Overwrites the UV coordinates of the vertex buffer for 'environment mapping' 00025 * effect. Fetches current matrices from the GL. The vertex buffer must be of 00026 * type (XFCGLVF_XYZ | XFCGLVF_NORMAL | XFCGLVF_DIFFUSECOLOR | XFCGLVF_TEXTURE1). 00027 * If the type is not correct or locking fails, the function doesn't do anything. 00028 */ 00029 static void generateEnvmapCoordinates(XFcGLVertexBuffer *aVertexBuffer, XFcGL *aGL); 00030 }; 00031 00032 00033 #endif // !XFUUVMANIPULATOR_H_INCLUDED 00034
![]() | ||||
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch |