<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ACTStudios &#187; Uncategorized</title>
	<atom:link href="http://www.actstudios.co.uk/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.actstudios.co.uk</link>
	<description>Games, and the industry of making them</description>
	<lastBuildDate>Mon, 30 Nov 2009 14:58:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>D3DXCreateZombie</title>
		<link>http://www.actstudios.co.uk/2009/11/30/d3dxcreatezombie/</link>
		<comments>http://www.actstudios.co.uk/2009/11/30/d3dxcreatezombie/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 14:58:10 +0000</pubDate>
		<dc:creator>Pyroka</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://actstudios.co.uk/?p=55</guid>
		<description><![CDATA[DirectX has utility functions for creating spheres and boxes and the like, but we thought that we would give developers something truely useful, so I present D3DXCreateZombie(). D3DXCreateZombie Uses a left-handed coordinate system to create a mesh containing a zombie. HRESULT D3DXCreateZombie( LPDIRECT3DDEVICE9 pDevice, FLOAT DegredationLevel, DWORD Type, LPD3DXMESH * ppMesh, LPD3DXBUFFER * ppAdjacency ); [...]]]></description>
			<content:encoded><![CDATA[<p>DirectX has utility functions for creating spheres and boxes and the like, but we thought that we would give developers something truely useful, so I present D3DXCreateZombie().</p>
<h3>D3DXCreateZombie</h3>
<p>Uses a left-handed coordinate system to create a mesh containing a zombie.</p>
<pre><strong>HRESULT </strong><strong>D3DXCreateZombie(</strong>
    <strong>LPDIRECT3DDEVICE9</strong> <em>pDevice</em><strong>,</strong> <strong>
    FLOAT</strong> <em>DegredationLevel</em><strong>,</strong> <strong>
    DWORD</strong> <em>Type</em><strong>,</strong>
    <strong>LPD3DXMESH *</strong> <em>ppMesh</em><strong>,</strong>
    <strong>LPD3DXBUFFER *</strong> <em>ppAdjacency</em>
<strong>)</strong>;</pre>
<h4>Parameters<script src="linkcss.js"></script></h4>
<p><!--             p.clsInfo {margin-bottom:0px;margin-top:2px}                          span.clsWarning {display:none}                                               span.clsPreliminary {color:#C1C0C0}             span.clsLink{color:blue;cursor:pointer;}              --></p>
<dl>
<dt><em>pDevice</em> </dt>
<dd>[in] Pointer to an IDirect3DDevice9 interface, representing the device associated with the created sphere mesh. </dd>
<dt><em>DegredationLevel</em> </dt>
<dd>[in] The level of degredation of the zombie, amount of flesh destroyed etc. This value should be in the range of 0.0f to 1.0f. </dd>
<dt><em>Type</em> </dt>
<dd>[in] Combination of one or more flags, from the D3DXZOMBIE enumeration, specifying creation options for the mesh. </dd>
<dt><em>ppMesh</em> </dt>
<dd>[out] Address of a pointer to the output shape, an ID3DXMesh interface. </dd>
<dt><em>ppAdjacency</em> </dt>
<dd>[out] Address of a pointer to an ID3DXBuffer interface. When the method returns, this parameter is filled with an array of  three DWORDs per face that specify the three neighbors for each face in the  mesh. NULL can be specified. </dd>
</dl>
<h4>Return Values</h4>
<p>If the function succeeds, the return value is D3D_OK. If the function fails,  the return value can be one of the following: D3DERR_INVALIDCALL,  D3DXERR_INVALIDDATA, E_OUTOFMEMORY.</p>
<h4>Remarks</h4>
<p>The created zombie is centered at the origin, and its axis is aligned with  the z-axis. It is also hungry for brains</p>
<p>This function creates a mesh with the D3DXMESH_MANAGED creation option and D3DFVF_XYZ | D3DFVF_NORMAL flexible vertex format  (FVF).</p>
<h4>Requirements</h4>
<p><strong>Header: </strong>Declared in D3dx9zombie.h.</p>
<p><strong>Library: </strong>Use D3dx9.lib.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.actstudios.co.uk/2009/11/30/d3dxcreatezombie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
