Would it hurt to have something like a double (precision float) in aiScene that relates the unit of 1 to the metric system, eg. meters or millimeters?
If 0.0 the scale is undefined. Probably would not hurt to add a similar value to aiMesh for pre-transformed vertex space where applicable.
If you're converting a scene/mesh into integer units without something like this to go by manual scaling is required if the input scene is not known to be at suitable scale (or else you totally lose the floating point precision)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Would it hurt to have something like a double (precision float) in aiScene that relates the unit of 1 to the metric system, eg. meters or millimeters?
If 0.0 the scale is undefined. Probably would not hurt to add a similar value to aiMesh for pre-transformed vertex space where applicable.
If you're converting a scene/mesh into integer units without something like this to go by manual scaling is required if the input scene is not known to be at suitable scale (or else you totally lose the floating point precision)