Divide by zero error

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
HB M
Posts: 132
Joined: 26.11.2002
With us: 22 years 2 months
Location: Eindhoven, The Netherlands

Divide by zero error

Post #1by HB » 04.08.2003, 10:00

After compiling the latest sourcecode( from 3 days ago) I'll get a divide by zero error. Celestia will crash after startup as soon as it starts renderering IO. The debugger tells me that the problem comes from lodsperemesh.cpp, but this file isn't changed at all. After some investigation it looks like that the problem is caused by the cameraOrientation from render.cpp and/or render.h. I don't know the ideas behind the function of the cameraOrientation, so I couldn't fix the bug myself. For this reason I've used these two files from a previous release. It works fine again.

HB
HB

Avatar
Topic author
HB M
Posts: 132
Joined: 26.11.2002
With us: 22 years 2 months
Location: Eindhoven, The Netherlands

Divide by zero error

Post #2by HB » 08.08.2003, 13:39

The problem has been solved! Newer versions of the file lodspheremesh.cpp has been released with the speed of light. There are two new releases in one day.So perhaps I've missed the latest one.
HB
HB


Return to “Bugs”