mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
c501d8112c
svn path=/branches/aicom-network-fixes/; revision=34994
95 lines
No EOL
1.6 KiB
C
95 lines
No EOL
1.6 KiB
C
#include "d3dx9.h"
|
|
|
|
#ifndef __D3DX9SHAPES_H__
|
|
#define __D3DX9SHAPES_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
HRESULT WINAPI
|
|
D3DXCreateBox(
|
|
LPDIRECT3DDEVICE9 pDevice,
|
|
FLOAT Width,
|
|
FLOAT Height,
|
|
FLOAT Depth,
|
|
LPD3DXMESH* ppMesh,
|
|
LPD3DXBUFFER* ppAdjacency);
|
|
|
|
HRESULT WINAPI
|
|
D3DXCreateCylinder(
|
|
LPDIRECT3DDEVICE9 pDevice,
|
|
FLOAT Radius1,
|
|
FLOAT Radius2,
|
|
FLOAT Length,
|
|
UINT Slices,
|
|
UINT Stacks,
|
|
LPD3DXMESH* ppMesh,
|
|
LPD3DXBUFFER* ppAdjacency);
|
|
|
|
HRESULT WINAPI
|
|
D3DXCreatePolygon(
|
|
LPDIRECT3DDEVICE9 pDevice,
|
|
FLOAT Length,
|
|
UINT Sides,
|
|
LPD3DXMESH* ppMesh,
|
|
LPD3DXBUFFER* ppAdjacency);
|
|
|
|
HRESULT WINAPI
|
|
D3DXCreateSphere(
|
|
LPDIRECT3DDEVICE9 pDevice,
|
|
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,
|
|
UINT Rings,
|
|
LPD3DXMESH* ppMesh,
|
|
LPD3DXBUFFER* ppAdjacency);
|
|
|
|
#ifdef UNICODE
|
|
#define D3DXCreateText D3DXCreateTextW
|
|
#else
|
|
#define D3DXCreateText D3DXCreateTextA
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif |