struct cogs::ScalePreservingTransform — HIRO 0.7.0 documentation

# struct cogs::ScalePreservingTransform

## Overview

Class used for effective management of transformation matrix by handling translation, rotation. More…

    #include <ScalePreservingTransform.h>

    struct ScalePreservingTransform {
        // fields

        glm::vec3 translation;
        glm::quat rotation;

        // construction

        ScalePreservingTransform();
        ~ScalePreservingTransform();
    };

## Detailed Documentation

Class used for effective management of transformation matrix by handling translation, rotation.

Final transformation is computed in order: rotation > translation.