struct hiro::Camera::Pose — HIRO 0.7.0 documentation

# struct hiro::Camera::Pose

## Overview

Holds information about camera pose. More…

    #include <Camera.h>

    struct Pose {
        // fields

        glm::vec3 target;
        glm::vec3 position;
        glm::vec3 up;

        // methods

        glm::mat4 GetViewMatrix() const;
    };

## Detailed Documentation

Holds information about camera pose.

### Fields

    glm::vec3 target

Point at which camera looks at.

    glm::vec3 position

Position of a camera.

    glm::vec3 up

Camera up direction.

### Methods

    glm::mat4 GetViewMatrix() const

Calculates view matrix of current pose.