#include <camera.h>
|
| enum | Mode {
Dialog
, Normal
, Inventory
, Melee
,
Ranged
, Magic
, Mobsi
, Death
,
Swim
, Dive
, Fall
, Cutscene
} |
| |
| enum | MarvinMode { M_Normal
, M_Freeze
, M_Free
, M_Pinned
} |
| |
Definition at line 14 of file camera.h.
◆ MarvinMode
| Enumerator |
|---|
| M_Normal | |
| M_Freeze | |
| M_Free | |
| M_Pinned | |
Definition at line 35 of file camera.h.
◆ Mode
| Enumerator |
|---|
| Dialog | |
| Normal | |
| Inventory | |
| Melee | |
| Ranged | |
| Magic | |
| Mobsi | |
| Death | |
| Swim | |
| Dive | |
| Fall | |
| Cutscene | |
Definition at line 20 of file camera.h.
◆ Camera()
◆ changeZoom()
| void Camera::changeZoom |
( |
int |
delta | ) |
|
◆ debugDraw()
◆ destPosition()
| Vec3 Camera::destPosition |
( |
| ) |
const |
◆ destSpin()
| PointF Camera::destSpin |
( |
| ) |
const |
◆ isCutscene()
| bool Camera::isCutscene |
( |
| ) |
const |
◆ isFirstPerson()
| bool Camera::isFirstPerson |
( |
| ) |
const |
◆ isFree()
| bool Camera::isFree |
( |
| ) |
const |
◆ isInertiaTargetEnabled()
| bool Camera::isInertiaTargetEnabled |
( |
| ) |
const |
◆ isInWater()
| bool Camera::isInWater |
( |
| ) |
const |
◆ isMarvin()
| bool Camera::isMarvin |
( |
| ) |
const |
◆ isToggleEnabled()
| bool Camera::isToggleEnabled |
( |
| ) |
const |
◆ listenerPosition()
◆ load()
◆ moveBack()
| void Camera::moveBack |
( |
uint64_t |
dt | ) |
|
◆ moveForward()
| void Camera::moveForward |
( |
uint64_t |
dt | ) |
|
◆ moveLeft()
| void Camera::moveLeft |
( |
uint64_t |
dt | ) |
|
◆ moveRight()
| void Camera::moveRight |
( |
uint64_t |
dt | ) |
|
◆ onRotateMouse()
| void Camera::onRotateMouse |
( |
const Tempest::PointF & |
dpos | ) |
|
◆ originLwc()
| Tempest::Vec3 Camera::originLwc |
( |
| ) |
const |
|
inline |
◆ projective()
| Matrix4x4 Camera::projective |
( |
| ) |
const |
◆ reset() [1/2]
◆ reset() [2/2]
| void Camera::reset |
( |
const Npc * |
pl | ) |
|
◆ rotateLeft()
| void Camera::rotateLeft |
( |
uint64_t |
dt | ) |
|
◆ rotateRight()
| void Camera::rotateRight |
( |
uint64_t |
dt | ) |
|
◆ save()
◆ setDestPosition()
| void Camera::setDestPosition |
( |
const Tempest::Vec3 & |
pos | ) |
|
◆ setDestSpin()
| void Camera::setDestSpin |
( |
const Tempest::PointF & |
p | ) |
|
◆ setDialogDistance()
| void Camera::setDialogDistance |
( |
float |
d | ) |
|
◆ setFirstPerson()
| void Camera::setFirstPerson |
( |
bool |
fp | ) |
|
◆ setInertiaTargetEnable()
| void Camera::setInertiaTargetEnable |
( |
bool |
e | ) |
|
◆ setLookBack()
| void Camera::setLookBack |
( |
bool |
lb | ) |
|
◆ setMarvinMode()
◆ setMode()
◆ setPosition()
| void Camera::setPosition |
( |
const Tempest::Vec3 & |
pos | ) |
|
◆ setSpin()
| void Camera::setSpin |
( |
const Tempest::PointF & |
p | ) |
|
◆ setToggleEnable()
| void Camera::setToggleEnable |
( |
bool |
e | ) |
|
◆ setViewport()
| void Camera::setViewport |
( |
uint32_t |
w, |
|
|
uint32_t |
h |
|
) |
| |
◆ spin()
| PointF Camera::spin |
( |
| ) |
const |
◆ tick()
| void Camera::tick |
( |
uint64_t |
dt | ) |
|
◆ toggleDebug()
| void Camera::toggleDebug |
( |
| ) |
|
◆ view()
| Matrix4x4 Camera::view |
( |
| ) |
const |
◆ viewLwc()
| Matrix4x4 Camera::viewLwc |
( |
| ) |
const |
◆ viewProj()
| Matrix4x4 Camera::viewProj |
( |
| ) |
const |
◆ viewProjLwc()
| Matrix4x4 Camera::viewProjLwc |
( |
| ) |
const |
◆ viewShadow()
| Matrix4x4 Camera::viewShadow |
( |
const Tempest::Vec3 & |
ldir, |
|
|
size_t |
layer |
|
) |
| const |
◆ viewShadowLwc()
| Matrix4x4 Camera::viewShadowLwc |
( |
const Tempest::Vec3 & |
ldir, |
|
|
size_t |
layer |
|
) |
| const |
◆ viewShadowVsm()
| Matrix4x4 Camera::viewShadowVsm |
( |
const Tempest::Vec3 & |
ldir | ) |
const |
◆ viewShadowVsmLwc()
| Matrix4x4 Camera::viewShadowVsmLwc |
( |
const Tempest::Vec3 & |
ldir | ) |
const |
◆ zFar()
| float Camera::zFar |
( |
| ) |
const |
◆ zNear()
| float Camera::zNear |
( |
| ) |
const |
◆ minShadowY
| constexpr const float Camera::minShadowY = -0.025f |
|
staticconstexpr |
The documentation for this class was generated from the following files: