#include <Camera.h>
Definition at line 13 of file Camera.h.
◆ Camera()
| Camera::Camera |
( |
glm::vec3 |
initPosition | ) |
|
◆ clearTarget()
| void Camera::clearTarget |
( |
| ) |
|
◆ focusOn()
◆ getProjMatrix()
| glm::mat4 Camera::getProjMatrix |
( |
| ) |
const |
◆ getRenderViewMatrix()
| glm::mat4 Camera::getRenderViewMatrix |
( |
| ) |
const |
◆ getTarget()
◆ getViewMatrix()
| glm::mat4 Camera::getViewMatrix |
( |
| ) |
const |
◆ hasTarget()
| bool Camera::hasTarget |
( |
| ) |
const |
|
inline |
◆ processKeyboard()
| void Camera::processKeyboard |
( |
Movement |
direction, |
|
|
float |
deltaTime |
|
) |
| |
◆ processMouseMovement()
| void Camera::processMouseMovement |
( |
float |
xoffset, |
|
|
float |
yoffset |
|
) |
| |
◆ processScroll()
| void Camera::processScroll |
( |
float |
wheelSteps | ) |
|
◆ resetMouse()
| void Camera::resetMouse |
( |
| ) |
|
◆ resetView()
| void Camera::resetView |
( |
const glm::vec3 & |
newPosition = glm::vec3(0.0f, 10.0f, 30.0f) | ) |
|
◆ setAspectRatio()
| void Camera::setAspectRatio |
( |
float |
ratio | ) |
|
|
inline |
◆ setClipRange()
| void Camera::setClipRange |
( |
float |
nearPlane, |
|
|
float |
farPlane |
|
) |
| |
◆ setTarget()
◆ setView()
| void Camera::setView |
( |
const glm::vec3 & |
newPosition, |
|
|
double |
newYaw, |
|
|
double |
newPitch |
|
) |
| |
◆ update()
| void Camera::update |
( |
const glm::vec3 * |
renderTargetPosition = nullptr | ) |
|
◆ firstMouse
| bool Camera::firstMouse = true |
◆ fov
◆ front
◆ kDefaultFarClip
| constexpr float Camera::kDefaultFarClip = 300000.0f |
|
staticconstexpr |
◆ kDefaultFov
| constexpr float Camera::kDefaultFov = 45.0f |
|
staticconstexpr |
◆ kDefaultMouseSensitivity
| constexpr float Camera::kDefaultMouseSensitivity = 0.05f |
|
staticconstexpr |
◆ kDefaultMovementSpeed
| constexpr float Camera::kDefaultMovementSpeed = 3.0f |
|
staticconstexpr |
◆ kDefaultNearClip
| constexpr float Camera::kDefaultNearClip = 0.1f |
|
staticconstexpr |
◆ mouseSensitivity
◆ movementSpeed
◆ pitch
| double Camera::pitch = 0.0f |
◆ position
| glm::vec3 Camera::position |
◆ right
◆ up
◆ worldUp
| glm::vec3 Camera::worldUp |
◆ yaw
| double Camera::yaw = -90.0f |
The documentation for this class was generated from the following files: