vtxprg_regcomb_setup.h
资源名称:fur.zip [点击查看]
上传用户:yjja2008
上传日期:2022-05-05
资源大小:698k
文件大小:1k
源码类别:
3D图形编程
开发平台:
Visual C++
- /*********************************************************************NVMH1****
- File:
- hufo_fur_setup.h
- Copyright (C) 1999, 2000 NVIDIA Corporation
- This file is provided without support, instruction, or implied warranty of any
- kind. NVIDIA makes no guarantee of its fitness for a particular purpose and is
- not liable under any circumstances for any damages or loss whatsoever arising
- from the use or inability to use this file or items derived from it.
- Comments:
- ******************************************************************************/
- struct nv_mesh
- {
- std::string name; // Convenience for debugging
- int numv; // number of vertices
- float * v; // vertices
- // tangent basis per vertex
- float * tangent;
- float * binormal;
- float * normal;
- float * t; // texture coords
- int matidx; // material index into the ase::model
- int numf; // number of faces
- int * f; // faces (indices into the array of vertices)
- };
- typedef std::vector<nv_mesh*> nv_mesh_array;
- typedef nv_mesh_array::const_iterator nv_mesh_cit;
- typedef nv_mesh_array::iterator nv_mesh_it;