WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
ViewportController.h
Go to the documentation of this file.
1
#pragma once
2
3
// ---- Viewport Controller --------------------------------------------------
4
// Applies resolved InputState to an OrbitCamera. This is the bridge between
5
// the input system and the camera, keeping both subsystems independent.
6
7
class
OrbitCamera
;
8
struct
InputState
;
9
10
namespace
ViewportController
11
{
12
14
void
apply
(
const
InputState
& input,
OrbitCamera
& camera);
15
16
}
// namespace ViewportController
OrbitCamera
Orbit camera that revolves around a target point.
Definition
OrbitCamera.h:10
ViewportController
Definition
ViewportController.h:11
ViewportController::apply
void apply(const InputState &input, OrbitCamera &camera)
Apply the resolved input state to the orbit camera.
Definition
ViewportController.cpp:8
InputState
Definition
InputAction.h:72
Source
App
ViewportController.h
Generated by
1.9.8