Skip to content

Commit

Permalink
Merge pull request #614 from CesiumGS/s2-example-fix
Browse files Browse the repository at this point in the history
Fixes indexing in examples in 3DTILES_bounding_volume_S2 spec
  • Loading branch information
lilleyse authored Jan 14, 2022
2 parents e021b5c + fe302d7 commit c0cbaa6
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions extensions/3DTILES_bounding_volume_S2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,19 @@ The 64-bit [S2 cell ID](https://s2geometry.io/devguide/s2cell_hierarchy#s2cellid
For example:

```
0011000000000...000 Root cell 2
0010110000000...000 2nd child of root cell 2
0010111100000...000 4th child of 2nd child of root cell 2
0010111001000...000 1st child of 4th child of 2nd child of root cell 2
0011000000000...000 Root cell 1
0010110000000...000 2nd child of root cell 1
0010111100000...000 4th child of 2nd child of root cell 1
0010111001000...000 1st child of 4th child of 2nd child of root cell 1
```

In their decimal forms, the cell IDs above are represented as follows:

```
3458764513820540928 Root cell 2
3170534137668829184 2nd child of root cell 2
3386706919782612992 4th child of 2nd child of root cell 2
3332663724254167040 1st child of 4th child of 2nd child of root cell 2
3458764513820540928 Root cell 1
3170534137668829184 2nd child of root cell 1
3386706919782612992 4th child of 2nd child of root cell 1
3332663724254167040 1st child of 4th child of 2nd child of root cell 1
```

## Tokens
Expand All @@ -97,10 +97,10 @@ To provide a more concise representation of the cell ID, as well as to provide a
For the cell IDs in the example above, the tokens are:

```
3 Root cell 2
2c 2nd child of root cell 2
2f 4th child of 2nd child of root cell 2
2e4 1st child of 4th child of 2nd child of root cell 2
3 Root cell 1
2c 2nd child of root cell 1
2f 4th child of 2nd child of root cell 1
2e4 1st child of 4th child of 2nd child of root cell 1
```

## Bounding Volume
Expand Down

0 comments on commit c0cbaa6

Please sign in to comment.