1 /*!**************************************************************************** 2 3 @file PVRTTriStrip.h 4 @copyright Copyright (c) Imagination Technologies Limited. 5 @brief Strips a triangle list. 6 7 ******************************************************************************/ 8 #ifndef _PVRTTRISTRIP_H_ 9 #define _PVRTTRISTRIP_H_ 10 11 12 /**************************************************************************** 13 ** Declarations 14 ****************************************************************************/ 15 16 /*!*************************************************************************** 17 @brief Reads a triangle list and generates an optimised triangle strip. 18 @param[out] ppui32Strips 19 @param[out] ppnStripLen 20 @param[out] pnStripCnt 21 @param[in] pui32TriList 22 @param[in] nTriCnt 23 *****************************************************************************/ 24 void PVRTTriStrip( 25 unsigned int **ppui32Strips, 26 unsigned int **ppnStripLen, 27 unsigned int *pnStripCnt, 28 const unsigned int * const pui32TriList, 29 const unsigned int nTriCnt); 30 31 32 /*!*************************************************************************** 33 @brief Reads a triangle list and generates an optimised triangle strip. Result is 34 converted back to a triangle list. 35 @param[in,out] pui32TriList 36 @param[in] nTriCnt 37 *****************************************************************************/ 38 void PVRTTriStripList(unsigned int * const pui32TriList, const unsigned int nTriCnt); 39 40 41 #endif /* _PVRTTRISTRIP_H_ */ 42 43 /***************************************************************************** 44 End of file (PVRTTriStrip.h) 45 *****************************************************************************/ 46 47