#include <Camera.h>
|
| Vec3f | ViewTransform (const Vec3f *pos) const |
| |
| void | ViewTransform (RenderVertexSoft *vertex, int uNumVertices) const |
| |
| bool | ViewClip (const Vec3f &pos, Vec3f *outPos) const |
| |
| Vec2f | Project (const Vec3f &pos) const |
| |
| void | Project (RenderVertexSoft *pVertices, unsigned int uNumVertices, bool fit_into_viewport=false) |
| |
| Vec2f | FitToViewport (const Vec2f &projPos) const |
| |
| bool | CullFaceToCameraFrustum (RenderVertexSoft *pInVertices, int *pOutNumVertices, RenderVertexSoft *pVertices, int NumFrustumPlanes) |
| |
| bool | CullFaceToFrustum (RenderVertexSoft *inVerts, unsigned int *pOutNumVertices, RenderVertexSoft *pOutVertices, Planef *frustum, signed int uNumPlanes) |
| |
| bool | ClipFaceToFrustum (RenderVertexSoft *pInVertices, unsigned int *pOutNumVertices, RenderVertexSoft *pVertices, const Planef *CameraFrustrum) |
| |
| void | BuildViewFrustum () |
| |
| void | CreateViewMatrixAndProjectionScale () |
| |
| void | debug_outline_sw (RenderVertexSoft *a2, unsigned int uNumVertices, Color uDiffuse32, float a5) |
| |
| void | do_draw_debug_line_sw (RenderVertexSoft *pLineBegin, Color sStartDiffuse32, RenderVertexSoft *pLineEnd, Color sEndDiffuse32, float z_stuff) |
| |
| bool | is_face_faced_to_cameraBLV (BLVFace *pFace) |
| |
| bool | is_face_faced_to_cameraODM (ODMFace *pFace, RenderVertexSoft *a2) |
| |
| void | CullByNearClip (RenderVertexSoft *pverts, unsigned int *unumverts) |
| |
| void | CullByFarClip (RenderVertexSoft *pverts, unsigned int *unumverts) |
| |
| float | GetMouseInfoDepth () |
| |
| void | CalculateRotations (int cameraYaw, int cameraPitch) |
| |
| float | GetNearClip () const |
| |
| float | GetFarClip () const |
| |
◆ BuildViewFrustum()
| void Camera3D::BuildViewFrustum |
( |
| ) |
|
◆ CalculateRotations()
| void Camera3D::CalculateRotations |
( |
int |
cameraYaw, |
|
|
int |
cameraPitch |
|
) |
| |
◆ ClipFaceToFrustum()
◆ CreateViewMatrixAndProjectionScale()
| void Camera3D::CreateViewMatrixAndProjectionScale |
( |
| ) |
|
◆ CullByFarClip()
| void Camera3D::CullByFarClip |
( |
RenderVertexSoft * |
pverts, |
|
|
unsigned int * |
unumverts |
|
) |
| |
◆ CullByNearClip()
| void Camera3D::CullByNearClip |
( |
RenderVertexSoft * |
pverts, |
|
|
unsigned int * |
unumverts |
|
) |
| |
◆ CullFaceToCameraFrustum()
◆ CullFaceToFrustum()
◆ debug_outline_sw()
| void Camera3D::debug_outline_sw |
( |
RenderVertexSoft * |
a2, |
|
|
unsigned int |
uNumVertices, |
|
|
Color |
uDiffuse32, |
|
|
float |
a5 |
|
) |
| |
◆ do_draw_debug_line_sw()
◆ FitToViewport()
| Vec2f Camera3D::FitToViewport |
( |
const Vec2f & |
projPos | ) |
const |
◆ GetFacetOrientation()
| void Camera3D::GetFacetOrientation |
( |
const Vec3f & |
normal, |
|
|
Vec3f * |
outU, |
|
|
Vec3f * |
outV |
|
) |
| |
|
static |
◆ GetFarClip()
| float Camera3D::GetFarClip |
( |
| ) |
const |
◆ GetMouseInfoDepth()
| float Camera3D::GetMouseInfoDepth |
( |
| ) |
|
◆ GetNearClip()
| float Camera3D::GetNearClip |
( |
| ) |
const |
◆ is_face_faced_to_cameraBLV()
| bool Camera3D::is_face_faced_to_cameraBLV |
( |
BLVFace * |
pFace | ) |
|
◆ is_face_faced_to_cameraODM()
◆ Project() [1/2]
| Vec2f Camera3D::Project |
( |
const Vec3f & |
pos | ) |
const |
◆ Project() [2/2]
| void Camera3D::Project |
( |
RenderVertexSoft * |
pVertices, |
|
|
unsigned int |
uNumVertices, |
|
|
bool |
fit_into_viewport = false |
|
) |
| |
◆ ViewClip()
| bool Camera3D::ViewClip |
( |
const Vec3f & |
pos, |
|
|
Vec3f * |
outPos |
|
) |
| const |
◆ ViewTransform() [1/2]
| Vec3f Camera3D::ViewTransform |
( |
const Vec3f * |
pos | ) |
const |
◆ ViewTransform() [2/2]
| void Camera3D::ViewTransform |
( |
RenderVertexSoft * |
vertex, |
|
|
int |
uNumVertices |
|
) |
| const |
◆ _pitchRotationCosine
| float Camera3D::_pitchRotationCosine = 0 |
◆ _pitchRotationSine
| float Camera3D::_pitchRotationSine = 0 |
◆ _viewPitch
| int Camera3D::_viewPitch = 0 |
◆ _viewYaw
| int Camera3D::_viewYaw = 0 |
◆ _yawRotationCosine
| float Camera3D::_yawRotationCosine = 0 |
◆ _yawRotationSine
| float Camera3D::_yawRotationSine = 0 |
◆ aspect
| float Camera3D::aspect = 0 |
◆ blv_fov_deg
| int Camera3D::blv_fov_deg = 60 |
◆ blv_fov_rad
| float Camera3D::blv_fov_rad = blv_fov_deg * M_PI / 180.0f |
◆ fov_y_deg
| float Camera3D::fov_y_deg = 0 |
◆ FrustumPlanes
| std::array<glm::vec4, 6> Camera3D::FrustumPlanes = {{}} |
◆ odm_fov_deg
| int Camera3D::odm_fov_deg = 75 |
◆ odm_fov_rad
| float Camera3D::odm_fov_rad = odm_fov_deg * M_PI / 180.0f |
◆ screenCenterX
| float Camera3D::screenCenterX = 0 |
◆ screenCenterY
| float Camera3D::screenCenterY = 0 |
◆ vCameraPos
| glm::vec3 Camera3D::vCameraPos = {} |
◆ ViewMatrix
| glm::mat3x3 Camera3D::ViewMatrix = {} |
◆ ViewPlaneDistPixels
| float Camera3D::ViewPlaneDistPixels = 0 |
The documentation for this struct was generated from the following files: