add methods to export the check if positions or normals are double and get them as doubles

This commit is contained in:
Max Lyon
2020-02-05 22:11:10 +01:00
parent c92a666658
commit 2356364085
3 changed files with 31 additions and 5 deletions

View File

@@ -289,7 +289,7 @@ namespace OMFormat {
inline size_t chunk_header_size( void ) { return sizeof(uint16); }
/// Return the size of a scale in bytes.
/// Return the size of a scaler in bytes.
inline size_t scalar_size( const Chunk::Header& _hdr )
{
return _hdr.float_ ? (0x01 << _hdr.bits_) : (0x04 << _hdr.bits_);