Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
869 B

  1. /******************************Module*Header*******************************\
  2. * Module Name: mesh.h
  3. *
  4. * Declaration of the mesh routines.
  5. *
  6. * Copyright (c) 1994 Microsoft Corporation
  7. *
  8. \**************************************************************************/
  9. extern BOOL newMesh(MESH *mesh, int numFaces, int numPts);
  10. extern void delMesh(MESH *mesh);
  11. extern void revolveSurface(MESH *mesh, POINT3D *curve, int steps);
  12. extern void updateObject(MESH *mesh, BOOL bSmooth);
  13. extern void updateObject2(MESH *mesh, BOOL bSmooth);
  14. extern void MakeList(DWORD listID, MESH *mesh);
  15. extern VOID SetD3DDevice( LPDIRECT3DDEVICE8 pd3dDevice );
  16. extern HRESULT RenderMesh( MESH* pMesh, BOOL bSmooth );
  17. extern HRESULT RenderMesh2( MESH* pMesh, BOOL bSmooth );
  18. extern HRESULT RenderMesh3( MESH* pMesh, BOOL bSmooth );
  19. extern HRESULT RenderMesh3Backsides( MESH* pMesh, BOOL bSmooth );