Ignore:
Timestamp:
12/18/14 12:49:55 (10 years ago)
Author:
Maciej Komosinski
Message:

Added Model::move() and Model::rotate()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/model.h

    r273 r274  
    393393
    394394void disturb(double amount);
     395void move(const Pt3D& shift);
     396/// rotate around the origin (move-rotate-move to rotate around arbitrary point)
     397void rotate(const Orient& rotation);
     398/// rotate around the origin (move-rotate-move to rotate around arbitrary point)
     399void rotate(const Pt3D& angles) {Orient o=Orient_1; o.rotate(angles); rotate(o);}
    395400
    396401/// build this model using new shapes, based on the provided model that uses old shapes. See also shapeconvert.cpp.
Note: See TracChangeset for help on using the changeset viewer.