Changeset 544 for cpp/frams/model/modelparts.h
- Timestamp:
- 07/28/16 01:09:29 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/model/modelparts.h
r408 r544 85 85 /// 86 86 paInt 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};87 enum Shape {SHAPE_BALL_AND_STICK=0, SHAPE_ELLIPSOID=1, SHAPE_CUBOID=2, SHAPE_CYLINDER=3}; 88 88 double mass,size,density,friction,ingest,assim,hollow; 89 89 Pt3D scale; … … 95 95 double vsize; 96 96 97 Part(enum Shape s=SHAPE_ DEFAULT);97 Part(enum Shape s=SHAPE_BALL_AND_STICK); 98 98 Part(const Part& src):PartBase(getDefaultStyle()) {operator=(src);} 99 99 void operator=(const Part& src); … … 124 124 class Pt3D d; ///< position delta between parts 125 125 class 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 entity126 enum Shape {SHAPE_BALL_AND_STICK=0, SHAPE_FIXED=1}; 127 paInt 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 128 128 129 129 Joint();
Note: See TracChangeset
for help on using the changeset viewer.