~facundo/enjuewemela/trunk

« back to all changes in this revision

Viewing changes to enjuewemela/cocos/doc/programming_guide/skeleton/body_and_arm.py

  • Committer: facundo at com
  • Date: 2010-11-20 01:42:31 UTC
  • mfrom: (62.1.3 lint-issues)
  • Revision ID: facundo@taniquetil.com.ar-20101120014231-b2tkyc3mwr84ggcc
Project reorder and lint issues

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from cocos.skeleton import Bone, Skeleton
2
 
 
3
 
def Point2(*args): return args
4
 
 
5
 
root_bone = Bone('body', 70, -180.0, Point2(0.00, 0.00)).add(
6
 
    Bone('upper_arm', 30, 130.782409248, Point2(31.00, -67.00))    .add(
7
 
        Bone('lower_arm', 30, 83.3315481551, Point2(-2.00, -37.00))
8
 
)
9
 
)
10
 
 
11
 
 
12
 
skeleton = Skeleton( root_bone )
 
 
b'\\ No newline at end of file'