Re: [Vrmlengine-main] Crash: Invalid argument
Game engine supporting many 3D/2D formats and graphic effects
Brought to you by:
kambi
From: Michalis K. <mic...@gm...> - 2010-08-27 17:57:18
|
van Schelve, Jens wrote: > view3dscene: Exception einvalidargument : > Invalid argument Fixed. Due to floating point errors, a cosinus value calculated in one routine was very very slightly > 1 (1.0000001192092896). This made the following ArcCos(1.0000001192092896) call fail with "Invalid argument". Many thanks for providing a simple testcase, this made fixing this bug quite straightforward :) It's added to kambi_vrml_test_suite as x3d/orientation_cos_1.x3d. Until the next view3dscene release, you can use the view3dscene binary from "nightly builds" (http://michalis.ii.uni.wroc.pl/vrmlengine-snapshots/ ), to have the fixed version. Thanks, Michalis |