Skip to content

Commit

Permalink
another revert
Browse files Browse the repository at this point in the history
  • Loading branch information
rbsheth committed Jul 22, 2020
1 parent f593393 commit 28852fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/AssetLib/glTF/glTFExporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,10 @@ void glTFExporter::ExportMeshes()

// Variables needed for compression. BEGIN.
// Indices, not pointers - because pointer to buffer is changing while writing to it.
size_t idx_srcdata_begin = 0; // Index of buffer before writing mesh data. Also, index of begin of coordinates array in buffer.
size_t idx_srcdata_normal = SIZE_MAX;// Index of begin of normals array in buffer. SIZE_MAX - mean that mesh has no normals.
std::vector<size_t> idx_srcdata_tc;// Array of indices. Every index point to begin of texture coordinates array in buffer.
size_t idx_srcdata_ind;// Index of begin of coordinates indices array in buffer.
bool comp_allow;// Point that data of current mesh can be compressed.
// Variables needed for compression. END.

Expand Down

0 comments on commit 28852fd

Please sign in to comment.