transforms.cpp revision e88f1eca443c9f97550088469932d9cea9ac0475
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenMatrix operator*(Translate const &t, Scale const &s) {
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenMatrix operator*(Translate const &t, Rotate const &r) {
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenMatrix operator*(Scale const &s, Translate const &t) {
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen return Matrix(s[0], 0,
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen t[0], t[1]);
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenMatrix operator*(Scale const &s, Matrix const &m) {
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenMatrix operator*(Matrix const &m, Translate const &t) {
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenMatrix operator*(Matrix const &m, Scale const &s) {
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen Local Variables:
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen c-file-style:"stroustrup"
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen indent-tabs-mode:nil
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen fill-column:99
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :