Changeset 544 for cpp/frams/_demos/geometry
- Timestamp:
- 07/28/16 01:09:29 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/geometry/geometrytestutils.cpp
r382 r544 244 244 part->vcolor = Pt3D(1.0, 1.0, 0.0); 245 245 246 model.addNewJoint(anchor, part, Joint::SHAPE_ SOLID);246 model.addNewJoint(anchor, part, Joint::SHAPE_FIXED); 247 247 } 248 248 … … 258 258 part->p = center; 259 259 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); 261 261 262 262 part = model.addNewPart(Part::SHAPE_CUBOID); … … 265 265 part->p = center; 266 266 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); 268 268 269 269 part = model.addNewPart(Part::SHAPE_CUBOID); … … 272 272 part->p = center; 273 273 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); 275 275 } 276 276 … … 282 282 target.moveElementsFrom(source); 283 283 284 target.addNewJoint(targetAnchor, sourceAnchor, Joint::SHAPE_ SOLID);284 target.addNewJoint(targetAnchor, sourceAnchor, Joint::SHAPE_FIXED); 285 285 } 286 286
Note: See TracChangeset
for help on using the changeset viewer.