<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 135: environment() segv when called with vector (0,0,1)</title><link>https://sourceforge.net/p/pixie/bugs/135/</link><description>Recent changes to 135: environment() segv when called with vector (0,0,1)</description><atom:link href="https://sourceforge.net/p/pixie/bugs/135/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 21 Jun 2011 20:34:37 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pixie/bugs/135/feed.rss" rel="self" type="application/rss+xml"/><item><title>environment() segv when called with vector (0,0,1)</title><link>https://sourceforge.net/p/pixie/bugs/135/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;pixie crashes when calling sl environment() with reflection vector (0,0,1)&lt;/p&gt;
&lt;p&gt;tracked it to texture.cpp line 1762.  variable c is computed to be 0, and then used for division, resulting in NaNs and a crash:&lt;/p&gt;
&lt;p&gt;c = (D[COMP_X]*D[COMP_X]+D[COMP_Y]*D[COMP_Y])*2.0*C_PI;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Karl Stiefvater</dc:creator><pubDate>Tue, 21 Jun 2011 20:34:37 -0000</pubDate><guid>https://sourceforge.net0c5d5f1e9ced6b64fa7c04bc3cf022dadb8ea464</guid></item></channel></rss>