Ignore:
Timestamp:
07/28/16 01:09:29 (4 years ago)
Author:
Maciej Komosinski
Message:

Renamed:
Model::getShape() ==> Model::getShapeType()
Model::SHAPE_OLD ==> Model::SHAPE_BALL_AND_STICK
Model::SHAPE_NEW ==> Model::SHAPE_SOLIDS
Part::SHAPE_DEFAULT ==> Part::SHAPE_BALL_AND_STICK
Joint::SHAPE_DEFAULT ==> Joint::SHAPE_BALL_AND_STICK
Joint::SHAPE_SOLID ==> Joint::SHAPE_FIXED

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/part_shapes.cpp

    r534 r544  
    3030                p2->setOrient(p1->o.transform(rotation)); //rotation transformed by p1's orientation
    3131
    32                 m.addNewJoint(p1, p2, Joint::SHAPE_SOLID); //all parts must be connected
     32                m.addNewJoint(p1, p2, Joint::SHAPE_FIXED); //all parts must be connected
    3333        }
    3434
     
    4545                        p2->scale = Pt3D(prev.distanceTo(next)*0.5, 0.05, 0.05);// distance*0.5 because scale is "radius", not cylinder length
    4646
    47                         m.addNewJoint(p1, p2, Joint::SHAPE_SOLID); //all parts must be connected
     47                        m.addNewJoint(p1, p2, Joint::SHAPE_FIXED); //all parts must be connected
    4848                }
    4949                p1 = p2;
Note: See TracChangeset for help on using the changeset viewer.