Ignore:
Timestamp:
07/28/16 01:09:29 (8 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/geometry/geometrytestutils.cpp

    r382 r544  
    244244        part->vcolor = Pt3D(1.0, 1.0, 0.0);
    245245       
    246         model.addNewJoint(anchor, part, Joint::SHAPE_SOLID);
     246        model.addNewJoint(anchor, part, Joint::SHAPE_FIXED);
    247247}
    248248
     
    258258        part->p = center;
    259259        part->vcolor = Pt3D(1.0, 0.0, 0.0);
    260         model.addNewJoint(anchor, part, Joint::SHAPE_SOLID);
     260        model.addNewJoint(anchor, part, Joint::SHAPE_FIXED);
    261261       
    262262        part = model.addNewPart(Part::SHAPE_CUBOID);
     
    265265        part->p = center;
    266266        part->vcolor = Pt3D(0.0, 1.0, 0.0);
    267         model.addNewJoint(anchor, part, Joint::SHAPE_SOLID);
     267        model.addNewJoint(anchor, part, Joint::SHAPE_FIXED);
    268268       
    269269        part = model.addNewPart(Part::SHAPE_CUBOID);
     
    272272        part->p = center;
    273273        part->vcolor = Pt3D(0.0, 0.0, 1.0);
    274         model.addNewJoint(anchor, part, Joint::SHAPE_SOLID);
     274        model.addNewJoint(anchor, part, Joint::SHAPE_FIXED);
    275275}
    276276
     
    282282        target.moveElementsFrom(source);
    283283       
    284         target.addNewJoint(targetAnchor, sourceAnchor, Joint::SHAPE_SOLID);
     284        target.addNewJoint(targetAnchor, sourceAnchor, Joint::SHAPE_FIXED);
    285285}
    286286
Note: See TracChangeset for help on using the changeset viewer.