affine_translation.h

Back to Affine transformation algorithms

pastel/math/affine/

// Description: Translating affine transformation
// Documentation: affine_algorithms.txt

#ifndef PASTELMATH_AFFINE_TRANSLATION_H
#define PASTELMATH_AFFINE_TRANSLATION_H

#include "pastel/math/affine/affine_transformation.h"

namespace Pastel
{

    //! Returns a translating affine transformation.
    template <typename Real, integer N>
    AffineTransformation<Real> affineTranslation(
        const Vector<Real, N>& translation);

}

#include "pastel/math/affine/affine_translation.hpp"

#endif