Correct a regression in matrix multiplication order

This commit is contained in:
Thomas Krijnen
2013-07-20 22:12:40 +00:00
parent 063f498066
commit 14a3f80c59
4 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -40,7 +40,8 @@ namespace IfcGeom {
: shape(shape), style(style) {}
IfcRepresentationShapeItem(const TopoDS_Shape& shape)
: shape(shape), style(0) {}
void move(const gp_GTrsf& trsf) { placement.Multiply(trsf); }
void append(const gp_GTrsf& trsf) { placement.Multiply(trsf); }
void prepend(const gp_GTrsf& trsf) { placement.PreMultiply(trsf); }
const TopoDS_Shape& Shape() const { return shape; }
const gp_GTrsf& Placement() const { return placement; }
bool hasStyle() const { return style != 0; }