<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>wii crash</title>
<description> hi @ all,

i have a problem, i have two versions of source, they do the same i think, but one of them run and the other crash my wii, i don&amp;#039;t understand why,
here is the source that run fine, simple draw a triangle:

GX_Begin(GX_TRIANGLES, GX_VTXFMT0, 3);
GX_Position3f32( (f32)m_pMS3DVertex[0].vertex[0], (f32)m_pMS3DVertex[0].vertex[1], (f32)m_pMS3DVertex[0].vertex[2]);
GX_Position3f32( (f32)m_pMS3DVertex[1].vertex[0], (f32)m_pMS3DVertex[1].vertex[1], (f32)m_pMS3DVertex[1].vertex[2]);
GX_Position3f32( (f32)m_pMS3DVertex[2].vertex[0], (f32)m_pMS3DVertex[2].vertex[1], (f32)m_pMS3DVertex[2].vertex[2]);
GX_End();

ok, i hope someone can help me pls :)

thx for every repley
but this source, my opinion is they do the same, crash the wii, why???????????????

GX_Begin(GX_TRIANGLES, GX_VTXFMT0, 3);
for(v=0;v&amp;lt;3;v++)
GX_Position3f32( (f32)m_pMS3DVertex[v].vertex[0], (f32)m_pMS3DVertex[v].vertex[1], (f32)m_pMS3DVertex[v].vertex[2]);
GX_End();

thx for every repley</description><link>http://forum.wiibrew.org/read.php?11,12633,12633#msg-12633</link><lastBuildDate>Fri, 12 Jun 2026 09:59:31 +0200</lastBuildDate>
<generator>Phorum 5.2.23</generator>
<item>
<guid>http://forum.wiibrew.org/read.php?11,12633,12710#msg-12710</guid>
<title>Re: wii crash</title><link>http://forum.wiibrew.org/read.php?11,12633,12710#msg-12710</link><description><![CDATA[ Actually you don&#039;t need them for a statement, but i think that GX_Position3f32 was an inline, so it may be threated as more than one statement.]]></description>
<dc:creator>technik</dc:creator>
<category>Coding</category><pubDate>Mon, 30 Mar 2009 11:08:37 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,12633,12646#msg-12646</guid>
<title>Re: wii crash</title><link>http://forum.wiibrew.org/read.php?11,12633,12646#msg-12646</link><description><![CDATA[ This is just a guess but try putting brackets {} around the for. I know if you have in if statement the you don&#039;t need them, but for a for statement you might.]]></description>
<dc:creator>g_man</dc:creator>
<category>Coding</category><pubDate>Sun, 29 Mar 2009 19:03:35 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,12633,12633#msg-12633</guid>
<title>wii crash</title><link>http://forum.wiibrew.org/read.php?11,12633,12633#msg-12633</link><description><![CDATA[ hi @ all,<br /><br />i have a problem, i have two versions of source, they do the same i think, but one of them run and the other crash my wii, i don&#039;t understand why,<br />here is the source that run fine, simple draw a triangle:<br /><pre class="bbcode">
GX_Begin(GX_TRIANGLES, GX_VTXFMT0, 3);
 GX_Position3f32( (f32)m_pMS3DVertex[0].vertex[0], (f32)m_pMS3DVertex[0].vertex[1], (f32)m_pMS3DVertex[0].vertex[2]);
 GX_Position3f32( (f32)m_pMS3DVertex[1].vertex[0], (f32)m_pMS3DVertex[1].vertex[1], (f32)m_pMS3DVertex[1].vertex[2]);
 GX_Position3f32( (f32)m_pMS3DVertex[2].vertex[0], (f32)m_pMS3DVertex[2].vertex[1], (f32)m_pMS3DVertex[2].vertex[2]);
GX_End();</pre><br />ok, i hope someone can help me pls :)<br /><br />thx for every repley<br />but this source, my opinion is they do the same, crash the wii, why???????????????<br /><pre class="bbcode">
GX_Begin(GX_TRIANGLES, GX_VTXFMT0, 3);
 for(v=0;v&lt;3;v++)
  GX_Position3f32( (f32)m_pMS3DVertex[v].vertex[0], (f32)m_pMS3DVertex[v].vertex[1], (f32)m_pMS3DVertex[v].vertex[2]);
GX_End();</pre><br />thx for every repley]]></description>
<dc:creator>xyz44</dc:creator>
<category>Coding</category><pubDate>Sun, 29 Mar 2009 14:43:29 +0200</pubDate></item>
</channel>
</rss>