source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/d3dx9shape.h@ 1186

Last change on this file since 1186 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 2.4 KB
RevLine 
[1166]1#include <_mingw_unicode.h>
2/*
3 * Copyright 2010 Christian Costa
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 */
19
20#include "d3dx9.h"
21
22#ifndef __D3DX9SHAPE_H__
23#define __D3DX9SHAPE_H__
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29HRESULT WINAPI D3DXCreateBox(struct IDirect3DDevice9 *device, float width, float height,
30 float depth, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency);
31HRESULT WINAPI D3DXCreateCylinder(struct IDirect3DDevice9 *device, float radius1, float radius2,
32 float length, UINT slices, UINT stacks, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency);
33HRESULT WINAPI D3DXCreatePolygon(struct IDirect3DDevice9 *device, float length, UINT sides, struct ID3DXMesh **mesh,
34 ID3DXBuffer **adjacency);
35HRESULT WINAPI D3DXCreateSphere(struct IDirect3DDevice9 *device, float radius, UINT slices,
36 UINT stacks, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency);
37HRESULT WINAPI D3DXCreateTeapot(struct IDirect3DDevice9 *device,
38 struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency);
39HRESULT WINAPI D3DXCreateTextA(struct IDirect3DDevice9 *device, HDC hdc, const char *text, float deviation,
40 float extrusion, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency, GLYPHMETRICSFLOAT *glyphmetrics);
41HRESULT WINAPI D3DXCreateTextW(struct IDirect3DDevice9 *device, HDC hdc, const WCHAR *text, float deviation,
42 FLOAT extrusion, struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency, GLYPHMETRICSFLOAT *glyphmetrics);
43HRESULT WINAPI D3DXCreateTorus(struct IDirect3DDevice9 *device,
44 float innerradius, float outerradius, UINT sides, UINT rings, struct ID3DXMesh **mesh, ID3DXBuffer **adjacency);
45#define D3DXCreateText __MINGW_NAME_AW(D3DXCreateText)
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif /* __D3DX9SHAPE_H__ */
Note: See TracBrowser for help on using the repository browser.