示例#1
0
文件: Polygon3D.cpp 项目: jonneva/mb
void Polygon3D::subtract(Transform3D& xform)
{
    // translate
    *this -= xform.getLocation();

    // rotate
    subtractRotation(xform);
}
示例#2
0
文件: Polygon3D.cpp 项目: jonneva/mb
void Polygon3D::add(Transform3D& xform)
{
    // rotate
    addRotation(xform);

    // translate
    *this += xform.getLocation();
}