#!BPY
"""
Name: 'Objective-C Header (.h)'
Blender: 244
Group: 'Export'
Tooltip: 'Exports header file for use with the OpenGL ES template for iPhone available from http://iphonedevelopment.blogspot.com/'
"""
import Blender
from Blender import *
import bpy
import bpy
import os
def write_obj(filepath):
out = file(filepath, 'w')
sce = bpy.data.scenes.active
ob = sce.objects.active
mesh = Mesh.New()
mesh.getFromObject(ob.name)
editmode = Window.EditMode()
if editmode: Window.EditMode(0)
has_quads = False
for f in mesh.faces:
if len(f) == 4:
has_quads = True
break
if has_quads:
oldmode = Mesh.Mode()
Mesh.Mode(Mesh.SelectModes['FACE'])
mesh.sel = True
tempob = sce.objects.new(mesh)
mesh.quadToTriangle(0) # more=0 shortest length
oldmode = Mesh.Mode(oldmode)
sce.objects.unlink(tempob)
Mesh.Mode(oldmode)
objectname = ob.getData(True)
basename = objectname.capitalize()
out.write('#import "OpenGLCommon.h"\n\n\n')
if (mesh.faceUV):
out.write('static const TexturedVertexData3D %sVertexData[] = {\n' % basename)
out.write('vertex\n')
for face in mesh.faces:
for (vert, uvert) in zip(face.verts, face.uv):
out.write('%f, %f, %f, ' % (vert.co.x, vert.co.y, vert.co.z) )
out.write('\n')
out.write('};\n\n')
out.write('normal\n')
for face in mesh.faces:
for (vert, uvert) in zip(face.verts, face.uv):
out.write('%f, %f, %f, ' % (vert.no.x, vert.no.y, vert.no.z))
out.write('\n')
out.write('};\n\n')
out.write('UV value \n')
for face in mesh.faces:
for (vert, uvert) in zip(face.verts, face.uv):
out.write('%f, %f,' % ( uvert.x, uvert.y ) )
out.write('\n')
out.write('};\n\n')
elif (mesh.vertexColors):
out.write('static const ColoredVertexData3D %sVertexData[] = {\n' % basename)
for face in mesh.faces:
for (vert, color) in zip(face.verts, face.col):
out.write('\t{/*v:*/{%f, %f, %f}, ' % (vert.co.x, vert.co.y, vert.co.z) )
out.write('/*n:*/{%f, %f, %f}, ' % (vert.no.x, vert.no.y, vert.no.z))
out.write('/*c:*/{%f, %f, %f, %f}' % ( color.r / 255.0, color.g / 255.0, color.b / 255.0, color.a / 255.0) )
out.write('},\n')
out.write('};\n\n')
else:
out.write
out.write('static const VertexData3D %sVertexData[] = {\n' % basename)
for face in mesh.faces:
for vert in face.verts:
out.write('\t{/*v:*/{%f, %f, %f}, ' % (vert.co.x, vert.co.y, vert.co.z) )
out.write('/*n:*/{%f, %f, %f} ' % (vert.no.x, vert.no.y, vert.no.z))
out.write('},\n')
out.write('};\n\n')
if editmode: Window.EditMode(1)
out.write('#define k%sNumberOfVertices\t%i\n' % (basename, len(mesh.faces) * 3) )
out.write('// Drawing Code:\n')
out.write('// glEnableClientState(GL_VERTEX_ARRAY);\n')
if (mesh.faceUV):
out.write('// glEnableClientState(GL_TEXTURE_COORD_ARRAY);\n')
elif (mesh.vertexColors):
out.write('// glEnableClientState(GL_COLOR_ARRAY);\n')
out.write('// glEnable(GL_COLOR_MATERIAL)\n')
out.write('// glEnableClientState(GL_NORMAL_ARRAY);\n')
out.write('// glVertexPointer(3, GL_FLOAT, sizeof(TexturedVertexData3D), &%sVertexData[0].vertex);\n' % basename)
out.write('// glNormalPointer(GL_FLOAT, sizeof(TexturedVertexData3D), &%sVertexData[0].normal);\n' % basename)
if (mesh.faceUV):
out.write('// glTexCoordPointer(2, GL_FLOAT, sizeof(TexturedVertexData3D), &%sVertexData[0].texCoord);\n' % basename)
elif (mesh.vertexColors):
out.write('// glColorPointer(4, GL_FLOAT, sizeof(ColoredVertexData3D), &%sVertexData[0].color);\n' % basename)
out.write('// glDrawArrays(GL_TRIANGLES, 0, k%sNumberOfVertices);\n' % basename)
out.write('// glDisableClientState(GL_VERTEX_ARRAY);\n')
if (mesh.faceUV):
out.write('// glDisableClientState(GL_TEXTURE_COORD_ARRAY);\n')
elif (mesh.vertexColors):
out.write('// glDisableClientState(GL_NORMAL_ARRAY);\n')
out.write('// glDisable(GL_COLOR_MATERIAL);\n')
out.write('// glDisableClientState(GL_NORMAL_ARRAY);\n\n\n')
out.close()
filename = os.path.splitext(Blender.Get('filename'))[0]
Blender.Window.FileSelector(write_obj, "Export", '%s.h' % filename)
#import "OpenGLCommon.h"
static const TexturedVertexData3D Cylinder.001VertexData[] = {
vertex
0.000000, 0.000000, -0.500000,
0.707107, 0.707107, -0.500000,
0.831470, 0.555570, -0.500000,
0.000000, 0.000000, 0.500000,
0.831471, 0.555569, 0.500000,
0.707108, 0.707105, 0.500000,
0.000000, 0.000000, -0.500000,
0.831470, 0.555570, -0.500000,
0.923880, 0.382683, -0.500000,
0.000000, 0.000000, 0.500000,
0.923880, 0.382682, 0.500000,
0.831471, 0.555569, 0.500000,
0.000000, 0.000000, -0.500000,
0.923880, 0.382683, -0.500000,
0.980785, 0.195090, -0.500000,
0.000000, 0.000000, 0.500000,
0.980786, 0.195088, 0.500000,
0.923880, 0.382682, 0.500000,
0.000000, 0.000000, -0.500000,
0.980785, 0.195090, -0.500000,
1.000000, 0.000000, -0.500000,
0.000000, 0.000000, 0.500000,
1.000000, -0.000002, 0.500000,
0.980786, 0.195088, 0.500000,
0.000000, 0.000000, -0.500000,
1.000000, 0.000000, -0.500000,
0.980785, -0.195090, -0.500000,
0.000000, 0.000000, 0.500000,
0.980785, -0.195092, 0.500000,
1.000000, -0.000002, 0.500000,
0.000000, 0.000000, -0.500000,
0.980785, -0.195090, -0.500000,
0.923880, -0.382683, -0.500000,
0.000000, 0.000000, 0.500000,
0.923879, -0.382685, 0.500000,
0.980785, -0.195092, 0.500000,
0.000000, 0.000000, -0.500000,
0.923880, -0.382683, -0.500000,
0.831470, -0.555570, -0.500000,
0.000000, 0.000000, 0.500000,
0.831469, -0.555571, 0.500000,
0.923879, -0.382685, 0.500000,
0.000000, 0.000000, -0.500000,
0.831470, -0.555570, -0.500000,
0.707107, -0.707107, -0.500000,
0.000000, 0.000000, 0.500000,
0.707106, -0.707107, 0.500000,
0.831469, -0.555571, 0.500000,
0.000000, 0.000000, -0.500000,
0.707107, -0.707107, -0.500000,
0.555570, -0.831470, -0.500000,
0.000000, 0.000000, 0.500000,
0.555570, -0.831470, 0.500000,
0.707106, -0.707107, 0.500000,
0.000000, 0.000000, -0.500000,
0.555570, -0.831470, -0.500000,
0.382683, -0.923880, -0.500000,
0.000000, 0.000000, 0.500000,
0.382684, -0.923880, 0.500000,
0.555570, -0.831470, 0.500000,
0.000000, 0.000000, -0.500000,
0.382683, -0.923880, -0.500000,
0.195090, -0.980785, -0.500000,
0.000000, 0.000000, 0.500000,
0.195091, -0.980785, 0.500000,
0.382684, -0.923880, 0.500000,
0.000000, 0.000000, -0.500000,
0.195090, -0.980785, -0.500000,
-0.000000, -1.000000, -0.500000,
0.000000, 0.000000, 0.500000,
0.000001, -1.000000, 0.500000,
0.195091, -0.980785, 0.500000,
0.000000, 0.000000, -0.500000,
-0.000000, -1.000000, -0.500000,
-0.195091, -0.980785, -0.500000,
0.000000, 0.000000, 0.500000,
-0.195089, -0.980786, 0.500000,
0.000001, -1.000000, 0.500000,
0.000000, 0.000000, -0.500000,
-0.195091, -0.980785, -0.500000,
-0.382684, -0.923879, -0.500000,
0.000000, 0.000000, 0.500000,
-0.382682, -0.923880, 0.500000,
-0.195089, -0.980786, 0.500000,
0.000000, 0.000000, -0.500000,
-0.382684, -0.923879, -0.500000,
-0.555571, -0.831469, -0.500000,
0.000000, 0.000000, 0.500000,
-0.555568, -0.831471, 0.500000,
-0.382682, -0.923880, 0.500000,
0.000000, 0.000000, -0.500000,
-0.555571, -0.831469, -0.500000,
-0.707107, -0.707106, -0.500000,
0.000000, 0.000000, 0.500000,
-0.707105, -0.707109, 0.500000,
-0.555568, -0.831471, 0.500000,
0.000000, 0.000000, -0.500000,
-0.707107, -0.707106, -0.500000,
-0.831470, -0.555570, -0.500000,
0.000000, 0.000000, 0.500000,
-0.831468, -0.555573, 0.500000,
-0.707105, -0.707109, 0.500000,
0.000000, 0.000000, -0.500000,
-0.831470, -0.555570, -0.500000,
-0.923880, -0.382683, -0.500000,
0.000000, 0.000000, 0.500000,
-0.923878, -0.382686, 0.500000,
-0.831468, -0.555573, 0.500000,
0.000000, 0.000000, -0.500000,
-0.923880, -0.382683, -0.500000,
-0.980785, -0.195089, -0.500000,
0.000000, 0.000000, 0.500000,
-0.980785, -0.195094, 0.500000,
-0.923878, -0.382686, 0.500000,
0.000000, 0.000000, -0.500000,
-0.980785, -0.195089, -0.500000,
-1.000000, 0.000001, -0.500000,
0.000000, 0.000000, 0.500000,
-1.000000, -0.000004, 0.500000,
-0.980785, -0.195094, 0.500000,
0.000000, 0.000000, -0.500000,
-1.000000, 0.000001, -0.500000,
-0.980785, 0.195091, -0.500000,
0.000000, 0.000000, 0.500000,
-0.980786, 0.195086, 0.500000,
-1.000000, -0.000004, 0.500000,
0.000000, 0.000000, -0.500000,
-0.980785, 0.195091, -0.500000,
-0.923879, 0.382684, -0.500000,
0.000000, 0.000000, 0.500000,
-0.923881, 0.382679, 0.500000,
-0.980786, 0.195086, 0.500000,
0.000000, 0.000000, -0.500000,
-0.923879, 0.382684, -0.500000,
-0.831469, 0.555571, -0.500000,
0.000000, 0.000000, 0.500000,
-0.831473, 0.555566, 0.500000,
-0.923881, 0.382679, 0.500000,
0.000000, 0.000000, -0.500000,
-0.831469, 0.555571, -0.500000,
-0.707106, 0.707108, -0.500000,
0.000000, 0.000000, 0.500000,
-0.707111, 0.707103, 0.500000,
-0.831473, 0.555566, 0.500000,
0.000000, 0.000000, -0.500000,
-0.707106, 0.707108, -0.500000,
-0.555569, 0.831470, -0.500000,
0.000000, 0.000000, 0.500000,
-0.555575, 0.831466, 0.500000,
-0.707111, 0.707103, 0.500000,
0.000000, 0.000000, -0.500000,
-0.555569, 0.831470, -0.500000,
-0.382682, 0.923880, -0.500000,
0.000000, 0.000000, 0.500000,
-0.382689, 0.923877, 0.500000,
-0.555575, 0.831466, 0.500000,
0.000000, 0.000000, -0.500000,
-0.382682, 0.923880, -0.500000,
-0.195089, 0.980786, -0.500000,
0.000000, 0.000000, 0.500000,
-0.195097, 0.980784, 0.500000,
-0.382689, 0.923877, 0.500000,
0.000000, 0.000000, -0.500000,
-0.195089, 0.980786, -0.500000,
0.000002, 1.000000, -0.500000,
0.000000, 0.000000, 0.500000,
-0.000007, 1.000000, 0.500000,
-0.195097, 0.980784, 0.500000,
0.000000, 0.000000, -0.500000,
0.000002, 1.000000, -0.500000,
0.195092, 0.980785, -0.500000,
0.000000, 0.000000, 0.500000,
0.195083, 0.980787, 0.500000,
-0.000007, 1.000000, 0.500000,
0.000000, 0.000000, -0.500000,
0.195092, 0.980785, -0.500000,
0.382685, 0.923879, -0.500000,
0.000000, 0.000000, 0.500000,
0.382676, 0.923883, 0.500000,
0.195083, 0.980787, 0.500000,
0.000000, 0.000000, -0.500000,
0.382685, 0.923879, -0.500000,
0.555572, 0.831469, -0.500000,
0.000000, 0.000000, 0.500000,
0.555563, 0.831474, 0.500000,
0.382676, 0.923883, 0.500000,
0.555572, 0.831469, -0.500000,
0.707107, 0.707107, -0.500000,
0.000000, 0.000000, -0.500000,
0.000000, 0.000000, 0.500000,
0.707108, 0.707105, 0.500000,
0.555563, 0.831474, 0.500000,
0.707108, 0.707105, 0.500000,
0.707107, 0.707107, -0.500000,
0.555572, 0.831469, -0.500000,
0.707108, 0.707105, 0.500000,
0.555572, 0.831469, -0.500000,
0.555563, 0.831474, 0.500000,
0.382685, 0.923879, -0.500000,
0.382676, 0.923883, 0.500000,
0.555563, 0.831474, 0.500000,
0.382685, 0.923879, -0.500000,
0.555563, 0.831474, 0.500000,
0.555572, 0.831469, -0.500000,
0.195092, 0.980785, -0.500000,
0.195083, 0.980787, 0.500000,
0.382676, 0.923883, 0.500000,
0.195092, 0.980785, -0.500000,
0.382676, 0.923883, 0.500000,
0.382685, 0.923879, -0.500000,
0.000002, 1.000000, -0.500000,
-0.000007, 1.000000, 0.500000,
0.195083, 0.980787, 0.500000,
0.000002, 1.000000, -0.500000,
0.195083, 0.980787, 0.500000,
0.195092, 0.980785, -0.500000,
-0.195089, 0.980786, -0.500000,
-0.195097, 0.980784, 0.500000,
-0.000007, 1.000000, 0.500000,
-0.195089, 0.980786, -0.500000,
-0.000007, 1.000000, 0.500000,
0.000002, 1.000000, -0.500000,
-0.382682, 0.923880, -0.500000,
-0.382689, 0.923877, 0.500000,
-0.195097, 0.980784, 0.500000,
-0.382682, 0.923880, -0.500000,
-0.195097, 0.980784, 0.500000,
-0.195089, 0.980786, -0.500000,
-0.555569, 0.831470, -0.500000,
-0.555575, 0.831466, 0.500000,
-0.382689, 0.923877, 0.500000,
-0.555569, 0.831470, -0.500000,
-0.382689, 0.923877, 0.500000,
-0.382682, 0.923880, -0.500000,
-0.707106, 0.707108, -0.500000,
-0.707111, 0.707103, 0.500000,
-0.555575, 0.831466, 0.500000,
-0.707106, 0.707108, -0.500000,
-0.555575, 0.831466, 0.500000,
-0.555569, 0.831470, -0.500000,
-0.831469, 0.555571, -0.500000,
-0.831473, 0.555566, 0.500000,
-0.707111, 0.707103, 0.500000,
-0.831469, 0.555571, -0.500000,
-0.707111, 0.707103, 0.500000,
-0.707106, 0.707108, -0.500000,
-0.923879, 0.382684, -0.500000,
-0.923881, 0.382679, 0.500000,
-0.831473, 0.555566, 0.500000,
-0.923879, 0.382684, -0.500000,
-0.831473, 0.555566, 0.500000,
-0.831469, 0.555571, -0.500000,
-0.980785, 0.195091, -0.500000,
-0.980786, 0.195086, 0.500000,
-0.923881, 0.382679, 0.500000,
-0.980785, 0.195091, -0.500000,
-0.923881, 0.382679, 0.500000,
-0.923879, 0.382684, -0.500000,
-1.000000, 0.000001, -0.500000,
-1.000000, -0.000004, 0.500000,
-0.980786, 0.195086, 0.500000,
-1.000000, 0.000001, -0.500000,
-0.980786, 0.195086, 0.500000,
-0.980785, 0.195091, -0.500000,
-0.980785, -0.195089, -0.500000,
-0.980785, -0.195094, 0.500000,
-1.000000, -0.000004, 0.500000,
-0.980785, -0.195089, -0.500000,
-1.000000, -0.000004, 0.500000,
-1.000000, 0.000001, -0.500000,
-0.923880, -0.382683, -0.500000,
-0.923878, -0.382686, 0.500000,
-0.980785, -0.195094, 0.500000,
-0.923880, -0.382683, -0.500000,
-0.980785, -0.195094, 0.500000,
-0.980785, -0.195089, -0.500000,
-0.831470, -0.555570, -0.500000,
-0.831468, -0.555573, 0.500000,
-0.923878, -0.382686, 0.500000,
-0.831470, -0.555570, -0.500000,
-0.923878, -0.382686, 0.500000,
-0.923880, -0.382683, -0.500000,
-0.707107, -0.707106, -0.500000,
-0.707105, -0.707109, 0.500000,
-0.831468, -0.555573, 0.500000,
-0.707107, -0.707106, -0.500000,
-0.831468, -0.555573, 0.500000,
-0.831470, -0.555570, -0.500000,
-0.555571, -0.831469, -0.500000,
-0.555568, -0.831471, 0.500000,
-0.707105, -0.707109, 0.500000,
-0.555571, -0.831469, -0.500000,
-0.707105, -0.707109, 0.500000,
-0.707107, -0.707106, -0.500000,
-0.382684, -0.923879, -0.500000,
-0.382682, -0.923880, 0.500000,
-0.555568, -0.831471, 0.500000,
-0.382684, -0.923879, -0.500000,
-0.555568, -0.831471, 0.500000,
-0.555571, -0.831469, -0.500000,
-0.195091, -0.980785, -0.500000,
-0.195089, -0.980786, 0.500000,
-0.382682, -0.923880, 0.500000,
-0.195091, -0.980785, -0.500000,
-0.382682, -0.923880, 0.500000,
-0.382684, -0.923879, -0.500000,
-0.000000, -1.000000, -0.500000,
0.000001, -1.000000, 0.500000,
-0.195089, -0.980786, 0.500000,
-0.000000, -1.000000, -0.500000,
-0.195089, -0.980786, 0.500000,
-0.195091, -0.980785, -0.500000,
0.195090, -0.980785, -0.500000,
0.195091, -0.980785, 0.500000,
0.000001, -1.000000, 0.500000,
0.195090, -0.980785, -0.500000,
0.000001, -1.000000, 0.500000,
-0.000000, -1.000000, -0.500000,
0.382683, -0.923880, -0.500000,
0.382684, -0.923880, 0.500000,
0.195091, -0.980785, 0.500000,
0.382683, -0.923880, -0.500000,
0.195091, -0.980785, 0.500000,
0.195090, -0.980785, -0.500000,
0.555570, -0.831470, -0.500000,
0.555570, -0.831470, 0.500000,
0.382684, -0.923880, 0.500000,
0.555570, -0.831470, -0.500000,
0.382684, -0.923880, 0.500000,
0.382683, -0.923880, -0.500000,
0.707107, -0.707107, -0.500000,
0.707106, -0.707107, 0.500000,
0.555570, -0.831470, 0.500000,
0.707107, -0.707107, -0.500000,
0.555570, -0.831470, 0.500000,
0.555570, -0.831470, -0.500000,
0.831470, -0.555570, -0.500000,
0.831469, -0.555571, 0.500000,
0.707107, -0.707107, -0.500000,
0.831469, -0.555571, 0.500000,
0.707106, -0.707107, 0.500000,
0.707107, -0.707107, -0.500000,
0.923880, -0.382683, -0.500000,
0.923879, -0.382685, 0.500000,
0.831470, -0.555570, -0.500000,
0.923879, -0.382685, 0.500000,
0.831469, -0.555571, 0.500000,
0.831470, -0.555570, -0.500000,
0.980785, -0.195090, -0.500000,
0.980785, -0.195092, 0.500000,
0.923880, -0.382683, -0.500000,
0.980785, -0.195092, 0.500000,
0.923879, -0.382685, 0.500000,
0.923880, -0.382683, -0.500000,
1.000000, 0.000000, -0.500000,
1.000000, -0.000002, 0.500000,
0.980785, -0.195090, -0.500000,
1.000000, -0.000002, 0.500000,
0.980785, -0.195092, 0.500000,
0.980785, -0.195090, -0.500000,
0.980785, 0.195090, -0.500000,
0.980786, 0.195088, 0.500000,
1.000000, 0.000000, -0.500000,
0.980786, 0.195088, 0.500000,
1.000000, -0.000002, 0.500000,
1.000000, 0.000000, -0.500000,
0.923880, 0.382683, -0.500000,
0.923880, 0.382682, 0.500000,
0.980785, 0.195090, -0.500000,
0.923880, 0.382682, 0.500000,
0.980786, 0.195088, 0.500000,
0.980785, 0.195090, -0.500000,
0.831470, 0.555570, -0.500000,
0.831471, 0.555569, 0.500000,
0.923880, 0.382683, -0.500000,
0.831471, 0.555569, 0.500000,
0.923880, 0.382682, 0.500000,
0.923880, 0.382683, -0.500000,
0.707107, 0.707107, -0.500000,
0.707108, 0.707105, 0.500000,
0.831470, 0.555570, -0.500000,
0.707108, 0.707105, 0.500000,
0.831471, 0.555569, 0.500000,
0.831470, 0.555570, -0.500000,
};
normal
0.000000, 0.000000, -1.000000,
0.498764, 0.498764, -0.708792,
0.675375, 0.484054, -0.556322,
0.000000, 0.000000, 1.000000,
0.705679, 0.438704, 0.556322,
0.631825, 0.631825, 0.448927,
0.000000, 0.000000, -1.000000,
0.675375, 0.484054, -0.556322,
0.756828, 0.342998, -0.556322,
0.000000, 0.000000, 1.000000,
0.777703, 0.292611, 0.556322,
0.705679, 0.438704, 0.556322,
0.000000, 0.000000, -1.000000,
0.756828, 0.342998, -0.556322,
0.809198, 0.188757, -0.556322,
0.000000, 0.000000, 1.000000,
0.819849, 0.135258, 0.556322,
0.777703, 0.292611, 0.556322,
0.000000, 0.000000, -1.000000,
0.809198, 0.188757, -0.556322,
0.830500, 0.027253, -0.556322,
0.000000, 0.000000, 1.000000,
0.830500, -0.027253, 0.556322,
0.819849, 0.135258, 0.556322,
0.000000, 0.000000, -1.000000,
0.830500, 0.027253, -0.556322,
0.819849, -0.135258, -0.556322,
0.000000, 0.000000, 1.000000,
0.809198, -0.188757, 0.556322,
0.830500, -0.027253, 0.556322,
0.000000, 0.000000, -1.000000,
0.819849, -0.135258, -0.556322,
0.777703, -0.292611, -0.556322,
0.000000, 0.000000, 1.000000,
0.756828, -0.342998, 0.556322,
0.809198, -0.188757, 0.556322,
0.000000, 0.000000, -1.000000,
0.777703, -0.292611, -0.556322,
0.705679, -0.438704, -0.556322,
0.000000, 0.000000, 1.000000,
0.675375, -0.484054, 0.556322,
0.756828, -0.342998, 0.556322,
0.000000, 0.000000, -1.000000,
0.705679, -0.438704, -0.556322,
0.631825, -0.631825, -0.448927,
0.000000, 0.000000, 1.000000,
0.498764, -0.498764, 0.708792,
0.675375, -0.484054, 0.556322,
0.000000, 0.000000, -1.000000,
0.631825, -0.631825, -0.448927,
0.438704, -0.705679, -0.556322,
0.000000, 0.000000, 1.000000,
0.484054, -0.675375, 0.556322,
0.498764, -0.498764, 0.708792,
0.000000, 0.000000, -1.000000,
0.438704, -0.705679, -0.556322,
0.292611, -0.777703, -0.556322,
0.000000, 0.000000, 1.000000,
0.342998, -0.756828, 0.556322,
0.484054, -0.675375, 0.556322,
0.000000, 0.000000, -1.000000,
0.292611, -0.777703, -0.556322,
0.135258, -0.819849, -0.556322,
0.000000, 0.000000, 1.000000,
0.188757, -0.809198, 0.556322,
0.342998, -0.756828, 0.556322,
0.000000, 0.000000, -1.000000,
0.135258, -0.819849, -0.556322,
-0.027253, -0.830500, -0.556322,
0.000000, 0.000000, 1.000000,
0.027253, -0.830500, 0.556322,
0.188757, -0.809198, 0.556322,
0.000000, 0.000000, -1.000000,
-0.027253, -0.830500, -0.556322,
-0.188757, -0.809198, -0.556322,
0.000000, 0.000000, 1.000000,
-0.135258, -0.819849, 0.556322,
0.027253, -0.830500, 0.556322,
0.000000, 0.000000, -1.000000,
-0.188757, -0.809198, -0.556322,
-0.342998, -0.756828, -0.556322,
0.000000, 0.000000, 1.000000,
-0.292611, -0.777703, 0.556322,
-0.135258, -0.819849, 0.556322,
0.000000, 0.000000, -1.000000,
-0.342998, -0.756828, -0.556322,
-0.484054, -0.675375, -0.556322,
0.000000, 0.000000, 1.000000,
-0.438704, -0.705679, 0.556322,
-0.292611, -0.777703, 0.556322,
0.000000, 0.000000, -1.000000,
-0.484054, -0.675375, -0.556322,
-0.606525, -0.567949, -0.556322,
0.000000, 0.000000, 1.000000,
-0.567949, -0.606525, 0.556322,
-0.438704, -0.705679, 0.556322,
0.000000, 0.000000, -1.000000,
-0.606525, -0.567949, -0.556322,
-0.705679, -0.438704, -0.556322,
0.000000, 0.000000, 1.000000,
-0.675375, -0.484054, 0.556322,
-0.567949, -0.606525, 0.556322,
0.000000, 0.000000, -1.000000,
-0.705679, -0.438704, -0.556322,
-0.777703, -0.292611, -0.556322,
0.000000, 0.000000, 1.000000,
-0.756828, -0.342998, 0.556322,
-0.675375, -0.484054, 0.556322,
0.000000, 0.000000, -1.000000,
-0.777703, -0.292611, -0.556322,
-0.819849, -0.135258, -0.556322,
0.000000, 0.000000, 1.000000,
-0.809198, -0.188757, 0.556322,
-0.756828, -0.342998, 0.556322,
0.000000, 0.000000, -1.000000,
-0.819849, -0.135258, -0.556322,
-0.830500, 0.027253, -0.556322,
0.000000, 0.000000, 1.000000,
-0.830500, -0.027253, 0.556322,
-0.809198, -0.188757, 0.556322,
0.000000, 0.000000, -1.000000,
-0.830500, 0.027253, -0.556322,
-0.809198, 0.188757, -0.556322,
0.000000, 0.000000, 1.000000,
-0.819849, 0.135258, 0.556322,
-0.830500, -0.027253, 0.556322,
0.000000, 0.000000, -1.000000,
-0.809198, 0.188757, -0.556322,
-0.756828, 0.342998, -0.556322,
0.000000, 0.000000, 1.000000,
-0.777703, 0.292611, 0.556322,
-0.819849, 0.135258, 0.556322,
0.000000, 0.000000, -1.000000,
-0.756828, 0.342998, -0.556322,
-0.675375, 0.484054, -0.556322,
0.000000, 0.000000, 1.000000,
-0.705679, 0.438704, 0.556322,
-0.777703, 0.292611, 0.556322,
0.000000, 0.000000, -1.000000,
-0.675375, 0.484054, -0.556322,
-0.567949, 0.606525, -0.556322,
0.000000, 0.000000, 1.000000,
-0.606525, 0.567949, 0.556322,
-0.705679, 0.438704, 0.556322,
0.000000, 0.000000, -1.000000,
-0.567949, 0.606525, -0.556322,
-0.438704, 0.705679, -0.556322,
0.000000, 0.000000, 1.000000,
-0.484054, 0.675375, 0.556322,
-0.606525, 0.567949, 0.556322,
0.000000, 0.000000, -1.000000,
-0.438704, 0.705679, -0.556322,
-0.292611, 0.777703, -0.556322,
0.000000, 0.000000, 1.000000,
-0.342998, 0.756828, 0.556322,
-0.484054, 0.675375, 0.556322,
0.000000, 0.000000, -1.000000,
-0.292611, 0.777703, -0.556322,
-0.135258, 0.819849, -0.556322,
0.000000, 0.000000, 1.000000,
-0.188757, 0.809198, 0.556322,
-0.342998, 0.756828, 0.556322,
0.000000, 0.000000, -1.000000,
-0.135258, 0.819849, -0.556322,
0.027253, 0.830500, -0.556322,
0.000000, 0.000000, 1.000000,
-0.027253, 0.830500, 0.556322,
-0.188757, 0.809198, 0.556322,
0.000000, 0.000000, -1.000000,
0.027253, 0.830500, -0.556322,
0.188757, 0.809198, -0.556322,
0.000000, 0.000000, 1.000000,
0.135258, 0.819849, 0.556322,
-0.027253, 0.830500, 0.556322,
0.000000, 0.000000, -1.000000,
0.188757, 0.809198, -0.556322,
0.342998, 0.756828, -0.556322,
0.000000, 0.000000, 1.000000,
0.292611, 0.777703, 0.556322,
0.135258, 0.819849, 0.556322,
0.000000, 0.000000, -1.000000,
0.342998, 0.756828, -0.556322,
0.484054, 0.675375, -0.556322,
0.000000, 0.000000, 1.000000,
0.438704, 0.705679, 0.556322,
0.292611, 0.777703, 0.556322,
0.484054, 0.675375, -0.556322,
0.498764, 0.498764, -0.708792,
0.000000, 0.000000, -1.000000,
0.000000, 0.000000, 1.000000,
0.631825, 0.631825, 0.448927,
0.438704, 0.705679, 0.556322,
0.631825, 0.631825, 0.448927,
0.498764, 0.498764, -0.708792,
0.484054, 0.675375, -0.556322,
0.631825, 0.631825, 0.448927,
0.484054, 0.675375, -0.556322,
0.438704, 0.705679, 0.556322,
0.342998, 0.756828, -0.556322,
0.292611, 0.777703, 0.556322,
0.438704, 0.705679, 0.556322,
0.342998, 0.756828, -0.556322,
0.438704, 0.705679, 0.556322,
0.484054, 0.675375, -0.556322,
0.188757, 0.809198, -0.556322,
0.135258, 0.819849, 0.556322,
0.292611, 0.777703, 0.556322,
0.188757, 0.809198, -0.556322,
0.292611, 0.777703, 0.556322,
0.342998, 0.756828, -0.556322,
0.027253, 0.830500, -0.556322,
-0.027253, 0.830500, 0.556322,
0.135258, 0.819849, 0.556322,
0.027253, 0.830500, -0.556322,
0.135258, 0.819849, 0.556322,
0.188757, 0.809198, -0.556322,
-0.135258, 0.819849, -0.556322,
-0.188757, 0.809198, 0.556322,
-0.027253, 0.830500, 0.556322,
-0.135258, 0.819849, -0.556322,
-0.027253, 0.830500, 0.556322,
0.027253, 0.830500, -0.556322,
-0.292611, 0.777703, -0.556322,
-0.342998, 0.756828, 0.556322,
-0.188757, 0.809198, 0.556322,
-0.292611, 0.777703, -0.556322,
-0.188757, 0.809198, 0.556322,
-0.135258, 0.819849, -0.556322,
-0.438704, 0.705679, -0.556322,
-0.484054, 0.675375, 0.556322,
-0.342998, 0.756828, 0.556322,
-0.438704, 0.705679, -0.556322,
-0.342998, 0.756828, 0.556322,
-0.292611, 0.777703, -0.556322,
-0.567949, 0.606525, -0.556322,
-0.606525, 0.567949, 0.556322,
-0.484054, 0.675375, 0.556322,
-0.567949, 0.606525, -0.556322,
-0.484054, 0.675375, 0.556322,
-0.438704, 0.705679, -0.556322,
-0.675375, 0.484054, -0.556322,
-0.705679, 0.438704, 0.556322,
-0.606525, 0.567949, 0.556322,
-0.675375, 0.484054, -0.556322,
-0.606525, 0.567949, 0.556322,
-0.567949, 0.606525, -0.556322,
-0.756828, 0.342998, -0.556322,
-0.777703, 0.292611, 0.556322,
-0.705679, 0.438704, 0.556322,
-0.756828, 0.342998, -0.556322,
-0.705679, 0.438704, 0.556322,
-0.675375, 0.484054, -0.556322,
-0.809198, 0.188757, -0.556322,
-0.819849, 0.135258, 0.556322,
-0.777703, 0.292611, 0.556322,
-0.809198, 0.188757, -0.556322,
-0.777703, 0.292611, 0.556322,
-0.756828, 0.342998, -0.556322,
-0.830500, 0.027253, -0.556322,
-0.830500, -0.027253, 0.556322,
-0.819849, 0.135258, 0.556322,
-0.830500, 0.027253, -0.556322,
-0.819849, 0.135258, 0.556322,
-0.809198, 0.188757, -0.556322,
-0.819849, -0.135258, -0.556322,
-0.809198, -0.188757, 0.556322,
-0.830500, -0.027253, 0.556322,
-0.819849, -0.135258, -0.556322,
-0.830500, -0.027253, 0.556322,
-0.830500, 0.027253, -0.556322,
-0.777703, -0.292611, -0.556322,
-0.756828, -0.342998, 0.556322,
-0.809198, -0.188757, 0.556322,
-0.777703, -0.292611, -0.556322,
-0.809198, -0.188757, 0.556322,
-0.819849, -0.135258, -0.556322,
-0.705679, -0.438704, -0.556322,
-0.675375, -0.484054, 0.556322,
-0.756828, -0.342998, 0.556322,
-0.705679, -0.438704, -0.556322,
-0.756828, -0.342998, 0.556322,
-0.777703, -0.292611, -0.556322,
-0.606525, -0.567949, -0.556322,
-0.567949, -0.606525, 0.556322,
-0.675375, -0.484054, 0.556322,
-0.606525, -0.567949, -0.556322,
-0.675375, -0.484054, 0.556322,
-0.705679, -0.438704, -0.556322,
-0.484054, -0.675375, -0.556322,
-0.438704, -0.705679, 0.556322,
-0.567949, -0.606525, 0.556322,
-0.484054, -0.675375, -0.556322,
-0.567949, -0.606525, 0.556322,
-0.606525, -0.567949, -0.556322,
-0.342998, -0.756828, -0.556322,
-0.292611, -0.777703, 0.556322,
-0.438704, -0.705679, 0.556322,
-0.342998, -0.756828, -0.556322,
-0.438704, -0.705679, 0.556322,
-0.484054, -0.675375, -0.556322,
-0.188757, -0.809198, -0.556322,
-0.135258, -0.819849, 0.556322,
-0.292611, -0.777703, 0.556322,
-0.188757, -0.809198, -0.556322,
-0.292611, -0.777703, 0.556322,
-0.342998, -0.756828, -0.556322,
-0.027253, -0.830500, -0.556322,
0.027253, -0.830500, 0.556322,
-0.135258, -0.819849, 0.556322,
-0.027253, -0.830500, -0.556322,
-0.135258, -0.819849, 0.556322,
-0.188757, -0.809198, -0.556322,
0.135258, -0.819849, -0.556322,
0.188757, -0.809198, 0.556322,
0.027253, -0.830500, 0.556322,
0.135258, -0.819849, -0.556322,
0.027253, -0.830500, 0.556322,
-0.027253, -0.830500, -0.556322,
0.292611, -0.777703, -0.556322,
0.342998, -0.756828, 0.556322,
0.188757, -0.809198, 0.556322,
0.292611, -0.777703, -0.556322,
0.188757, -0.809198, 0.556322,
0.135258, -0.819849, -0.556322,
0.438704, -0.705679, -0.556322,
0.484054, -0.675375, 0.556322,
0.342998, -0.756828, 0.556322,
0.438704, -0.705679, -0.556322,
0.342998, -0.756828, 0.556322,
0.292611, -0.777703, -0.556322,
0.631825, -0.631825, -0.448927,
0.498764, -0.498764, 0.708792,
0.484054, -0.675375, 0.556322,
0.631825, -0.631825, -0.448927,
0.484054, -0.675375, 0.556322,
0.438704, -0.705679, -0.556322,
0.705679, -0.438704, -0.556322,
0.675375, -0.484054, 0.556322,
0.631825, -0.631825, -0.448927,
0.675375, -0.484054, 0.556322,
0.498764, -0.498764, 0.708792,
0.631825, -0.631825, -0.448927,
0.777703, -0.292611, -0.556322,
0.756828, -0.342998, 0.556322,
0.705679, -0.438704, -0.556322,
0.756828, -0.342998, 0.556322,
0.675375, -0.484054, 0.556322,
0.705679, -0.438704, -0.556322,
0.819849, -0.135258, -0.556322,
0.809198, -0.188757, 0.556322,
0.777703, -0.292611, -0.556322,
0.809198, -0.188757, 0.556322,
0.756828, -0.342998, 0.556322,
0.777703, -0.292611, -0.556322,
0.830500, 0.027253, -0.556322,
0.830500, -0.027253, 0.556322,
0.819849, -0.135258, -0.556322,
0.830500, -0.027253, 0.556322,
0.809198, -0.188757, 0.556322,
0.819849, -0.135258, -0.556322,
0.809198, 0.188757, -0.556322,
0.819849, 0.135258, 0.556322,
0.830500, 0.027253, -0.556322,
0.819849, 0.135258, 0.556322,
0.830500, -0.027253, 0.556322,
0.830500, 0.027253, -0.556322,
0.756828, 0.342998, -0.556322,
0.777703, 0.292611, 0.556322,
0.809198, 0.188757, -0.556322,
0.777703, 0.292611, 0.556322,
0.819849, 0.135258, 0.556322,
0.809198, 0.188757, -0.556322,
0.675375, 0.484054, -0.556322,
0.705679, 0.438704, 0.556322,
0.756828, 0.342998, -0.556322,
0.705679, 0.438704, 0.556322,
0.777703, 0.292611, 0.556322,
0.756828, 0.342998, -0.556322,
0.498764, 0.498764, -0.708792,
0.631825, 0.631825, 0.448927,
0.675375, 0.484054, -0.556322,
0.631825, 0.631825, 0.448927,
0.705679, 0.438704, 0.556322,
0.675375, 0.484054, -0.556322,
};
UV value
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
0.000000, 0.000000,
1.000000, 0.000000,
1.000000, 1.000000,
};
#define kCylinder.001NumberOfVertices 384
// Drawing Code:
// glEnableClientState(GL_VERTEX_ARRAY);
// glEnableClientState(GL_TEXTURE_COORD_ARRAY);
// glEnableClientState(GL_NORMAL_ARRAY);
// glVertexPointer(3, GL_FLOAT, sizeof(TexturedVertexData3D), &Cylinder.001VertexData[0].vertex);
// glNormalPointer(GL_FLOAT, sizeof(TexturedVertexData3D), &Cylinder.001VertexData[0].normal);
// glTexCoordPointer(2, GL_FLOAT, sizeof(TexturedVertexData3D), &Cylinder.001VertexData[0].texCoord);
// glDrawArrays(GL_TRIANGLES, 0, kCylinder.001NumberOfVertices);
// glDisableClientState(GL_VERTEX_ARRAY);
// glDisableClientState(GL_TEXTURE_COORD_ARRAY);
// glDisableClientState(GL_NORMAL_ARRAY);