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
7class OrbitCamera;
8struct InputState;
9
11{
12
14void apply(const InputState& input, OrbitCamera& camera);
15
16} // namespace ViewportController
Orbit camera that revolves around a target point.
Definition OrbitCamera.h:10
void apply(const InputState &input, OrbitCamera &camera)
Apply the resolved input state to the orbit camera.