View Issue Details

IDProjectCategoryView StatusLast Update
0000266DarkRadiantMap Editingpublic24.05.2007 12:27
Reportergreebo Assigned Togreebo  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.9.0 
Fixed in Version0.9.0 
Summary0000266: Loss of significant information when using float
DescriptionAs already discussed some time ago in the forums, DarkRadiant is using float, whereas DoomEdit is using double. So far, this hasn't been much of a problem, but it will certainly become one (one occurrence has already been observed in the bonehoard map).
 
As float has 6 significant digits, all items placed with the smallest grid size of 0.125 will lose information when their absolute position in 3D space is more than 999 units away from the origin, as in this brushdef:

(0 0 -1 3128.13)

It's obvious that the .125 fracture is being rounded to 0.13 because the 4 of the 6 significant digits are being eaten up by the 3128 part.
TagsNo tags attached.

Relationships

related to 0002653 closedgreebo Convert math classes from double back to float 

Activities

greebo

greebo

18.04.2007 17:09

administrator   ~0000580

Mathematical structures like Vector2/3/4 and Matrix4 as well as Vertex3f/Normal3f and TexCoord2f are ported to use double instead of float.

Issue History

Date Modified Username Field Change
17.04.2007 11:44 greebo New Issue
17.04.2007 11:44 greebo Status new => confirmed
18.04.2007 17:09 greebo Status confirmed => resolved
18.04.2007 17:09 greebo Fixed in Version => latest SVN
18.04.2007 17:09 greebo Resolution open => fixed
18.04.2007 17:09 greebo Assigned To => greebo
18.04.2007 17:09 greebo Note Added: 0000580
24.05.2007 12:27 greebo Status resolved => closed
24.02.2011 12:07 greebo Relationship added related to 0002653