Spec: Fix standard edgebreaker symbol buffer

- Addresses a comment in KhronosGroup/glTF#1114
This commit is contained in:
Frank Galligan 2017-10-24 14:17:42 -07:00
parent abcdbba2ec
commit 3f9710fb48
2 changed files with 3 additions and 5 deletions

View File

@ -323,10 +323,10 @@ void NewActiveCornerReached(new_corner, symbol_id) {
~~~~~
void ParseEdgebreakerStandardSymbol() {
symbol = bit_symbol_buffer.ReadBits(1);
symbol = eb_symbol_buffer.ReadBits(1);
if (symbol != TOPOLOGY_C) {
// Else decode two additional bits.
symbol_suffix = bit_symbol_buffer.ReadBits(2);
symbol_suffix = eb_symbol_buffer.ReadBits(2);
symbol |= (symbol_suffix << 1);
}
last_symbol_ = symbol;

View File

@ -144,8 +144,6 @@
* Last EdgeBreaker symbol decoded
* last_vert_added
* Id of the last vertex decoded
* bit_symbol_buffer
* Standard EdgeBreaker encoded symbol buffer
* active_corner_stack
* Array of current working corners used during EdgeBreaker decoding
* edge_breaker_symbol_to_topology_id
@ -163,7 +161,7 @@
#### EdgeBreaker Traversal
* eb_symbol_buffer_size
* eb_symbol_buffer
* EdgeBreaker encoded symbol data
* Standard EdgeBreaker encoded symbol data
* eb_start_face_buffer_prob_zero
* Face configuration encoded probability
* eb_start_face_buffer_size