pioneerspacesim/pioneer — Issue #934: Hang in TerrainBody::Render
Author: Ziusudra
Created: 2012-02-01 03:19:46+00:00
State: open

```
pioneer.exe!TerrainBody::Render(const vector3 & viewCoords={...}, const matrix4x4 & viewTransform={...}) Line 82
pioneer.exe!Star::Render(const vector3 & viewCoords={...}, const matrix4x4 & viewTransform={...}) Line 87
pioneer.exe!Camera::Draw() Line 174
pioneer.exe!Pi::MainLoop() Line 1321
pioneer.exe!Pi::Start() Line 1231
pioneer.exe!SDL_main(int argc=1244832, char * * __formal=0x6e6f6970) Line 18 + 0x5 bytes
pioneer.exe!_main() + 0x133 bytes
pioneer.exe!_WinMain@16() + 0x101 bytes
pioneer.exe!__tmainCRTStartup() Line 547 + 0x2c bytes
pioneer.exe!WinMainCRTStartup() Line 371
kernel32.dll!_BaseProcessStart@4() + 0x23 bytes
```

The current `i` in `Camera::Draw` is for Sol and the components of `viewCoords` and `viewTransform.cell` are all -1.#IND which is MSVC for NaN.