<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linmath, branch master</title>
<subtitle>Fork of datenwolf's linmath.h for use with faqe.
</subtitle>
<id>https://the-tk.com/cgit/linmath/atom?h=master</id>
<link rel='self' href='https://the-tk.com/cgit/linmath/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/linmath/'/>
<updated>2018-04-20T20:09:56Z</updated>
<entry>
<title>Add eprintf style module makefile.</title>
<updated>2018-04-20T20:09:56Z</updated>
<author>
<name>Tomasz Kramkowski</name>
<email>tk@the-tk.com</email>
</author>
<published>2018-04-20T20:09:56Z</published>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/linmath/commit/?id=097dbf725ac75c386bafc497a7f97247f35f8be3'/>
<id>urn:sha1:097dbf725ac75c386bafc497a7f97247f35f8be3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor linmath.h for use in faqe.</title>
<updated>2018-04-20T20:09:26Z</updated>
<author>
<name>Tomasz Kramkowski</name>
<email>tk@the-tk.com</email>
</author>
<published>2018-04-20T20:09:26Z</published>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/linmath/commit/?id=e90d1c2e8fabaed7a608c6a65dc3e2ad84e24af7'/>
<id>urn:sha1:e90d1c2e8fabaed7a608c6a65dc3e2ad84e24af7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #24 from adrianbroher/master</title>
<updated>2016-02-07T22:10:32Z</updated>
<author>
<name>datenwolf</name>
<email>code+github@datenwolf.net</email>
</author>
<published>2016-02-07T22:10:32Z</published>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/linmath/commit/?id=057dd680a1e809516d2a53286112a74eeef54f62'/>
<id>urn:sha1:057dd680a1e809516d2a53286112a74eeef54f62</id>
<content type='text'>
Add vec{2,3,4} minimum and maximum functions</content>
</entry>
<entry>
<title>Add vec{2,3,4} component wise minimum and maximum functions</title>
<updated>2016-01-26T17:53:34Z</updated>
<author>
<name>Marcel Metz</name>
<email>mmetz@adrian-broher.net</email>
</author>
<published>2016-01-26T17:53:34Z</published>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/linmath/commit/?id=757ac1911bf88c144690691874c61568bbcf80d1'/>
<id>urn:sha1:757ac1911bf88c144690691874c61568bbcf80d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #22 from t-mw/quat_mul_vec3_fix</title>
<updated>2015-09-23T16:52:09Z</updated>
<author>
<name>datenwolf</name>
<email>code+github@datenwolf.net</email>
</author>
<published>2015-09-23T16:52:09Z</published>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/linmath/commit/?id=6b5b43ba41d5a6334463203b15294b609f27f469'/>
<id>urn:sha1:6b5b43ba41d5a6334463203b15294b609f27f469</id>
<content type='text'>
Fix bug in quat_mul_vec3 caused by reuse of u and t in 'vec3_mul_cross'</content>
</entry>
<entry>
<title>Fix bug in quat_mul_vec3 caused by reuse of u and t in 'vec3_mul_cross'</title>
<updated>2015-09-23T16:45:10Z</updated>
<author>
<name>Tobias Mansfield-Williams</name>
<email>contact@tmwhere.com</email>
</author>
<published>2015-09-23T16:40:30Z</published>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/linmath/commit/?id=de72a69abaffbf4a0861018727e10befb6cec7ff'/>
<id>urn:sha1:de72a69abaffbf4a0861018727e10befb6cec7ff</id>
<content type='text'>
The new implementation of `quat_mul_vec3` introduced in commit
06b68f6caa214d9f98ada28db837c21e08ed2927 incorrectly calculates 't' and
'u'. The problem's caused by the variables being used as both input and
output to `vec3_mul_cross`, which causes the variables to be corrupted
as the cross product is taken. Unlike with the simple vector operations,
input variables to vec3_mul_cross must be distinct from the output
variable.

```
static inline void vec3_mul_cross(vec3 r, vec3 const a, vec3 const b) {
    r[0] = a[1]*b[2] - a[2]*b[1];
    r[1] = a[2]*b[0] - a[0]*b[2];
    r[2] = a[0]*b[1] - a[1]*b[0];
}
```
</content>
</entry>
<entry>
<title>fixed out-of-bounds write in quat_mul_vec3 by replacing with a more elegant method</title>
<updated>2015-07-30T22:30:19Z</updated>
<author>
<name>Wolfgang Draxinger</name>
<email>Wolfgang.Draxinger@draxit.de</email>
</author>
<published>2015-07-30T22:30:19Z</published>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/linmath/commit/?id=06b68f6caa214d9f98ada28db837c21e08ed2927'/>
<id>urn:sha1:06b68f6caa214d9f98ada28db837c21e08ed2927</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #14 from PolyFloyd/quat_rotate</title>
<updated>2015-05-26T12:00:10Z</updated>
<author>
<name>datenwolf</name>
<email>code+github@datenwolf.net</email>
</author>
<published>2015-05-26T12:00:10Z</published>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/linmath/commit/?id=543faf6415918e926c1ddc3e04348eed44d5ed37'/>
<id>urn:sha1:543faf6415918e926c1ddc3e04348eed44d5ed37</id>
<content type='text'>
Added quat_rotate</content>
</entry>
<entry>
<title>Merge pull request #18 from dv343/master</title>
<updated>2015-01-26T02:53:30Z</updated>
<author>
<name>datenwolf</name>
<email>code+github@datenwolf.net</email>
</author>
<published>2015-01-26T02:53:30Z</published>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/linmath/commit/?id=a9b12ac7c333e52ca0a28664f5fa50d5a93a89db'/>
<id>urn:sha1:a9b12ac7c333e52ca0a28664f5fa50d5a93a89db</id>
<content type='text'>
In-place matrix multiplication</content>
</entry>
<entry>
<title>In-place matrix multiplication</title>
<updated>2015-01-25T20:21:27Z</updated>
<author>
<name>David M</name>
<email>manxi.david@gmail.com</email>
</author>
<published>2015-01-25T20:21:27Z</published>
<link rel='alternate' type='text/html' href='https://the-tk.com/cgit/linmath/commit/?id=fed4a4c3ab0fc392c6583ce1fc87c9e881619814'/>
<id>urn:sha1:fed4a4c3ab0fc392c6583ce1fc87c9e881619814</id>
<content type='text'>
In-place matrix multiplication (mat4x4_mul(m1, m1,m2)) and
the operations that depends on it (mat4x4_rotate...) do not work.
I think that this feature will be appreciated, even if it has a
performance cost.
</content>
</entry>
</feed>
