Contains
the ascii characters "// Little stick compact format v1.0.0".
Contains
1 if the tree has leaves and 0 otherwise.
Contains
1 if the tree has fruit and 0 otherwise.
A
4 byte unsigned long integer.
Contains the number of vertices and
texture co-ordinates used.
A 4 byte unsigned long integer.
Contains the number of indices used.
An array of 4 byte floating point numbers.
Contains all of the vertex data.
The size of this array is 4 * 3 * (Number of vertices) bytes.
Each vertex contains 3 numbers, the x then y then z co-ordinates.
Each number is a 4 byte floating point number.
An array of 4 byte floating point numbers.
Contains all of the texture co-ordinate
data.
The size if this array is 4 * 2 * (Number of texture co-ordinates)
bytes.
Each texture co-ordinate contains 2 numbers, the x then y co-ordinates.
Each number is a 4 byte floating point number.
An array of 4 byte unsigned long integers.
Contains all of the indices. There are
3 indices for each triangle.
The first 3 indices represent the first
triangle.
The next 3 indices represent the second triangle,
and so on until all indices are used.
Only triangles are used. There are no polygons with more vertices than
3.
The size of this array is 4 * (Number of indices) bytes.
There are (Number of indices) / 3 triangles represented.