mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Cleanup.
This commit is contained in:
parent
7d81db60e1
commit
f11b368f93
1 changed files with 6 additions and 6 deletions
|
@ -146,9 +146,9 @@ void triangleCompress(bx::WriterI* _writer, uint16_t* _indices, uint32_t _numInd
|
||||||
CompressIndexBuffer(_indices, _numIndices/3, vertexRemap, _numVertices, IBCF_PER_TRIANGLE_1, writer);
|
CompressIndexBuffer(_indices, _numIndices/3, vertexRemap, _numVertices, IBCF_PER_TRIANGLE_1, writer);
|
||||||
writer.Finish();
|
writer.Finish();
|
||||||
printf( "uncompressed: %10d, compressed: %10d, ratio: %0.2f%%\n"
|
printf( "uncompressed: %10d, compressed: %10d, ratio: %0.2f%%\n"
|
||||||
, _numIndices * 2
|
, _numIndices*2
|
||||||
, writer.ByteSize()
|
, (uint32_t)writer.ByteSize()
|
||||||
, 100.0f - float( writer.ByteSize() ) / float( _numIndices * 2 )*100.0f
|
, 100.0f - float(writer.ByteSize() ) / float(_numIndices*2)*100.0f
|
||||||
);
|
);
|
||||||
|
|
||||||
BX_UNUSED(_vertexData, _stride);
|
BX_UNUSED(_vertexData, _stride);
|
||||||
|
|
Loading…
Reference in a new issue