<?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"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: [bug] jit_mat4_assign()</title>
		<atom:link href="http://cycling74.com/forums/topic/bug-jit_mat4_assign/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/bug-jit_mat4_assign/feed</link>
		<description></description>
		<pubDate>Thu, 20 Jun 2013 04:59:05 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/bug-jit_mat4_assign/#post-32509</guid>
					<title><![CDATA[[bug] jit_mat4_assign()]]></title>
					<link>http://cycling74.com/forums/topic/bug-jit_mat4_assign/#post-32509</link>
					<pubDate>Mon, 18 Jun 2007 12:31:12 +0000</pubDate>
					<dc:creator>Thijs Koerselman</dc:creator>

					<description>
						<![CDATA[
						<p>I just tracked down what I believe is a nasty bug in jit_mat4_assign(). It<br />
turns out that the source v02 gets copied to destination v02 and v03. The<br />
other values are all right. Using jit_mat4_from_coords() to copy one matrix<br />
to the other does work. See the example below.</p>
<p>Thijs</p>
<p>
    t_jit_mat4 v; // put some data in here<br />
    t_jit_mat4 dst;</p>
<p>
    // this will mess up<br />
    jit_mat4_assign(&#038;dst, &#038;v);<br />
    post(&#8220;assign v %f %f dst %f %f&#8221;, v->v02, v->v03, dst->v02, dst->v03);</p>
<p>    // this won&#8217;t<br />
    jit_mat4_from_coords(&#038;dst,<br />
        v->vals[0],v->vals[1],v->vals[2],v->vals[3],<br />
        v->vals[4],v->vals[5],v->vals[6],v->vals[7],<br />
        v->vals[8],v->vals[9],v->vals[10],v->vals[11],<br />
        v->vals[12],v->vals[13],v->vals[14],v->vals[15]);<br />
   post(&#8220;from_coords v %f %f dst %f %f&#8221;, v->v02, v->v03, dst->v02,<br />
dst->v03);</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-jit_mat4_assign/#post-107108</guid>
					<title><![CDATA[Re: [bug] jit_mat4_assign()]]></title>
					<link>http://cycling74.com/forums/topic/bug-jit_mat4_assign/#post-107108</link>
					<pubDate>Mon, 18 Jun 2007 12:49:13 +0000</pubDate>
					<dc:creator>Jeremy Bernstein</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks, I can confirm, and have fixed the bug for the next release.</p>
<p>jb</p>
<p>Am 18.06.2007 um 14:31 schrieb Thijs Koerselman:</p>
<p>> I just tracked down what I believe is a nasty bug in jit_mat4_assign <br />
> (). It<br />
> turns out that the source v02 gets copied to destination v02 and  <br />
> v03. The<br />
> other values are all right. Using jit_mat4_from_coords() to copy  <br />
> one matrix<br />
> to the other does work. See the example below.<br />
><br />
> Thijs<br />
><br />
><br />
>    t_jit_mat4 v; // put some data in here<br />
>    t_jit_mat4 dst;<br />
><br />
><br />
>    // this will mess up<br />
>    jit_mat4_assign(&#038;dst, &#038;v);<br />
>    post(&#8220;assign v %f %f dst %f %f&#8221;, v->v02, v->v03, dst->v02, dst- <br />
> >v03);<br />
><br />
>    // this won&#8217;t<br />
>    jit_mat4_from_coords(&#038;dst,<br />
>        v->vals[0],v->vals[1],v->vals[2],v->vals[3],<br />
>        v->vals[4],v->vals[5],v->vals[6],v->vals[7],<br />
>        v->vals[8],v->vals[9],v->vals[10],v->vals[11],<br />
>        v->vals[12],v->vals[13],v->vals[14],v->vals[15]);<br />
>   post(&#8220;from_coords v %f %f dst %f %f&#8221;, v->v02, v->v03, dst->v02,<br />
> dst->v03);</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-jit_mat4_assign/#post-107109</guid>
					<title><![CDATA[Re: [bug] jit_mat4_assign()]]></title>
					<link>http://cycling74.com/forums/topic/bug-jit_mat4_assign/#post-107109</link>
					<pubDate>Fri, 01 Feb 2008 17:56:14 +0000</pubDate>
					<dc:creator>Thijs Koerselman</dc:creator>

					<description>
						<![CDATA[
						<p>Revisiting this thread since the issue still exists with the latest<br />
incremental Jitter version on Windows. Am I missing something?</p>
<p>Thijs</p>
<p>
On Jun 18, 2007 12:49 PM, Jeremy Bernstein <jeremy @bootsquad.com> wrote:</jeremy></p>
<p>> Thanks, I can confirm, and have fixed the bug for the next release.<br />
><br />
> jb<br />
><br />
> Am 18.06.2007 um 14:31 schrieb Thijs Koerselman:<br />
><br />
> > I just tracked down what I believe is a nasty bug in jit_mat4_assign<br />
> > (). It<br />
> > turns out that the source v02 gets copied to destination v02 and<br />
> > v03. The<br />
> > other values are all right. Using jit_mat4_from_coords() to copy<br />
> > one matrix<br />
> > to the other does work. See the example below.<br />
> ><br />
> > Thijs<br />
> ><br />
> ><br />
> >    t_jit_mat4 v; // put some data in here<br />
> >    t_jit_mat4 dst;<br />
> ><br />
> ><br />
> >    // this will mess up<br />
> >    jit_mat4_assign(&#038;dst, &#038;v);<br />
> >    post(&#8220;assign v %f %f dst %f %f&#8221;, v->v02, v->v03, dst->v02, dst-<br />
> > >v03);<br />
> ><br />
> >    // this won&#8217;t<br />
> >    jit_mat4_from_coords(&#038;dst,<br />
> >        v->vals[0],v->vals[1],v->vals[2],v->vals[3],<br />
> >        v->vals[4],v->vals[5],v->vals[6],v->vals[7],<br />
> >        v->vals[8],v->vals[9],v->vals[10],v->vals[11],<br />
> >        v->vals[12],v->vals[13],v->vals[14],v->vals[15]);<br />
> >   post(&#8220;from_coords v %f %f dst %f %f&#8221;, v->v02, v->v03, dst->v02,<br />
> > dst->v03);<br />
><br />
></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-jit_mat4_assign/#post-107110</guid>
					<title><![CDATA[Re: [bug] jit_mat4_assign()]]></title>
					<link>http://cycling74.com/forums/topic/bug-jit_mat4_assign/#post-107110</link>
					<pubDate>Fri, 01 Feb 2008 19:27:12 +0000</pubDate>
					<dc:creator>Mattijs</dc:creator>

					<description>
						<![CDATA[
						<p>moving this thread to jitter dev..</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

