2007-04-15 09:31:28 +00:00
|
|
|
#include "d3dx9.h"
|
|
|
|
|
|
|
|
#ifndef __D3DX9SHAPES_H__
|
|
|
|
#define __D3DX9SHAPES_H__
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2007-10-19 23:21:45 +00:00
|
|
|
HRESULT WINAPI
|
2007-04-15 09:31:28 +00:00
|
|
|
D3DXCreateBox(
|
2007-10-19 23:21:45 +00:00
|
|
|
LPDIRECT3DDEVICE9 pDevice,
|
2007-04-15 09:31:28 +00:00
|
|
|
FLOAT Width,
|
|
|
|
FLOAT Height,
|
|
|
|
FLOAT Depth,
|
|
|
|
LPD3DXMESH* ppMesh,
|
|
|
|
LPD3DXBUFFER* ppAdjacency);
|
|
|
|
|
2007-10-19 23:21:45 +00:00
|
|
|
HRESULT WINAPI
|
2007-04-15 09:31:28 +00:00
|
|
|
D3DXCreateCylinder(
|
|
|
|
LPDIRECT3DDEVICE9 pDevice,
|
|
|
|
FLOAT Radius1,
|
|
|
|
FLOAT Radius2,
|
|
|
|
FLOAT Length,
|
|
|
|
UINT Slices,
|
|
|
|
UINT Stacks,
|
|
|
|
LPD3DXMESH* ppMesh,
|
|
|
|
LPD3DXBUFFER* ppAdjacency);
|
|
|
|
|
2007-10-19 23:21:45 +00:00
|
|
|
HRESULT WINAPI
|
2007-04-15 09:31:28 +00:00
|
|
|
D3DXCreatePolygon(
|
|
|
|
LPDIRECT3DDEVICE9 pDevice,
|
|
|
|
FLOAT Length,
|
|
|
|
UINT Sides,
|
|
|
|
LPD3DXMESH* ppMesh,
|
|
|
|
LPD3DXBUFFER* ppAdjacency);
|
|
|
|
|
|
|
|
HRESULT WINAPI
|
|
|
|
D3DXCreateSphere(
|
2007-10-19 23:21:45 +00:00
|
|
|
LPDIRECT3DDEVICE9 pDevice,
|
2007-04-15 09:31:28 +00:00
|
|
|
FLOAT Radius,
|
|
|
|
UINT Slices,
|
|
|
|
UINT Stacks,
|
|
|
|
LPD3DXMESH* ppMesh,
|
|
|
|
LPD3DXBUFFER* ppAdjacency);
|
|
|
|
|
|
|
|
HRESULT WINAPI
|
|
|
|
D3DXCreateTeapot(
|
|
|
|
LPDIRECT3DDEVICE9 pDevice,
|
|
|
|
LPD3DXMESH* ppMesh,
|
|
|
|
LPD3DXBUFFER* ppAdjacency);
|
|
|
|
|
|
|
|
HRESULT WINAPI
|
|
|
|
D3DXCreateTextA(
|
|
|
|
LPDIRECT3DDEVICE9 pDevice,
|
|
|
|
HDC hDC,
|
|
|
|
LPCSTR pText,
|
|
|
|
FLOAT Deviation,
|
|
|
|
FLOAT Extrusion,
|
|
|
|
LPD3DXMESH* ppMesh,
|
|
|
|
LPD3DXBUFFER* ppAdjacency,
|
|
|
|
LPGLYPHMETRICSFLOAT pGlyphMetrics);
|
|
|
|
|
|
|
|
HRESULT WINAPI
|
|
|
|
D3DXCreateTextW(
|
|
|
|
LPDIRECT3DDEVICE9 pDevice,
|
|
|
|
HDC hDC,
|
|
|
|
LPCWSTR pText,
|
|
|
|
FLOAT Deviation,
|
|
|
|
FLOAT Extrusion,
|
|
|
|
LPD3DXMESH* ppMesh,
|
|
|
|
LPD3DXBUFFER* ppAdjacency,
|
|
|
|
LPGLYPHMETRICSFLOAT pGlyphMetrics);
|
|
|
|
|
|
|
|
HRESULT WINAPI
|
|
|
|
D3DXCreateTorus(
|
|
|
|
LPDIRECT3DDEVICE9 pDevice,
|
|
|
|
FLOAT InnerRadius,
|
|
|
|
FLOAT OuterRadius,
|
|
|
|
UINT Sides,
|
2007-10-19 23:21:45 +00:00
|
|
|
UINT Rings,
|
2007-04-15 09:31:28 +00:00
|
|
|
LPD3DXMESH* ppMesh,
|
|
|
|
LPD3DXBUFFER* ppAdjacency);
|
|
|
|
|
|
|
|
#ifdef UNICODE
|
|
|
|
#define D3DXCreateText D3DXCreateTextW
|
|
|
|
#else
|
|
|
|
#define D3DXCreateText D3DXCreateTextA
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2011-02-10 13:01:39 +00:00
|
|
|
#endif
|