changed cylinder to capsule

git-svn-id: svn://anubis/misc/phy_export@205 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
josh 2009-11-14 21:38:50 +00:00
parent 8e6e4cbf20
commit bbc1a770bc

View File

@ -28,9 +28,9 @@ def write(filename):
ob.getLocation() +
(e[0], e[1], e[2])))
elif len(ob.data.faces) < 256:
# found a cylinder
# found a capsule
e = ob.getEuler()
out.write("cylinder \"%s\" %f %f %f %f %f %f %f %f\n" %
out.write("capsule \"%s\" %f %f %f %f %f %f %f %f\n" %
((ob.name,) + (ob.getSize()[0], ob.getSize()[2]*2) +
ob.getLocation() +
(e[0], e[1], e[2])))