|
Player12
An open source football management simulator
|
#include <match_camera_3d.h>
Public Attributes | |
| float | zoomSteps = 0.0f |
| float | orbitYaw = 0.0f |
| float | orbitPitch = 0.0f |
| RenderMath::Vec3 | pan |
| bool | retarget = false |
| RenderMath::Vec3 | retargetPoint |
| bool | followBall = false |
| bool | reset = false |
User camera control for one frame, already converted to world units by the renderer (it owns the projection the user was looking at).
| bool MatchCameraControl::followBall = false |
Free camera keeps orbiting the moving ball.
| float MatchCameraControl::orbitPitch = 0.0f |
Positive values raise the camera towards a top-down view.
| float MatchCameraControl::orbitYaw = 0.0f |
Orbit around the target, radians (positive yaw turns the view left).
| RenderMath::Vec3 MatchCameraControl::pan |
Metres the free camera's target moves across the ground.
| bool MatchCameraControl::reset = false |
| bool MatchCameraControl::retarget = false |
| RenderMath::Vec3 MatchCameraControl::retargetPoint |
| float MatchCameraControl::zoomSteps = 0.0f |
Mouse-wheel steps (positive zooms in).