Created
December 5, 2018 00:49
-
-
Save jeremyabel/70aab53b530aad8c0d7bcd933e1213a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var endian = true; | |
var byte = 0; | |
var magic = view.getUint32(byte, endian); | |
var objectCount = view.getUint32(byte += 4, endian); | |
var vertexCount = view.getUint32(byte += 8, endian); | |
var indexCount = view.getSome8ByteValue(byte += 8, endian); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment