Working quite nicely

This commit is contained in:
Jack Ha 2016-12-22 09:44:00 +01:00
parent 47e204038f
commit c6d56b60f6
5 changed files with 108 additions and 134 deletions

View file

@ -57,6 +57,7 @@ class LayerDataBuilder(MeshBuilder):
vertices = numpy.empty((vertex_count, 3), numpy.float32)
normals = numpy.empty((vertex_count, 3), numpy.float32)
# line_widths = numpy.empty((vertex_count, 3), numpy.float32) # strictly taken you need 1 less
colors = numpy.empty((vertex_count, 4), numpy.float32)
indices = numpy.empty((index_count, 2), numpy.int32)