summaryrefslogtreecommitdiffstats
path: root/src/libnr/nr-translate-rotate-ops.cpp
blob: 35f60c10df6a42925ac4d002b9258edc764880c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <libnr/nr-matrix-translate-ops.h>
#include <libnr/nr-rotate-ops.h>

NR::Matrix
operator*(NR::translate const &a, NR::rotate const &b)
{
    return NR::Matrix(b) * NR::translate(a.offset * b);
}


/*
  Local Variables:
  mode:c++
  c-file-style:"stroustrup"
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
  indent-tabs-mode:nil
  fill-column:99
  End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :