value of float fields in b3d format = 1065353216Community Forums/Developer Stations/value of float fields in b3d format = 1065353216
| I'm studying a b3d file in a hex editor and following along with the b3d specification.|
I'm noticing that in places where the field is a float value, like texture scale for instance, instead of seeing 1 or 0 there I see 00 00 80 3F or 1065353216 in decimal.
Can someone explain this? Thanks.
| This explains it http://en.wikipedia.org/wiki/IEEE_754 |
| Ahh ok. 1 bit for sign, 8 bits for exponent and 23 bits for fraction. Makes sense now. |
|Blitz Social Club|