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/model/modelparts.h

    r408 r544  
    8585///
    8686paInt shape;///default=old Framsticks compatible, do not mix with shapes>0
    87 enum Shape {SHAPE_DEFAULT=0, SHAPE_ELLIPSOID=1, SHAPE_CUBOID=2, SHAPE_CYLINDER=3};
     87enum Shape {SHAPE_BALL_AND_STICK=0, SHAPE_ELLIPSOID=1, SHAPE_CUBOID=2, SHAPE_CYLINDER=3};
    8888double mass,size,density,friction,ingest,assim,hollow;
    8989Pt3D scale;
     
    9595double vsize;
    9696
    97 Part(enum Shape s=SHAPE_DEFAULT);
     97Part(enum Shape s=SHAPE_BALL_AND_STICK);
    9898Part(const Part& src):PartBase(getDefaultStyle()) {operator=(src);}
    9999void operator=(const Part& src);
     
    124124class Pt3D d;           ///< position delta between parts
    125125class Pt3D rot; ///< orientation delta between parts expressed as 3 angles
    126 enum Shape {SHAPE_DEFAULT=0, SHAPE_SOLID=1};
    127 paInt shape;///< default=old Framsticks compatible, creates a physical rod between parts (cylinder or cuboid), do not mix with shape>0,  solid=merge parts into one physical entity
     126enum Shape {SHAPE_BALL_AND_STICK=0, SHAPE_FIXED=1};
     127paInt shape;///< ball-and-stick=old Framsticks compatible, creates a physical rod between parts (cylinder or cuboid), do not mix with shape>0,  fixed=merge parts into one physical entity
    128128
    129129Joint();
Note: See TracChangeset for help on using the changeset viewer.