#include <AppState.h>
◆ resetCamera()
| void AppState::resetCamera |
( |
| ) |
|
◆ updateUIScale()
| void AppState::updateUIScale |
( |
| ) |
const |
◆ updateWindowSize()
| void AppState::updateWindowSize |
( |
| ) |
|
◆ worldToScreen()
| void AppState::worldToScreen |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float * |
screenX, |
|
|
float * |
screenY |
|
) |
| const |
◆ buildContext
◆ cameraEulers
| float AppState::cameraEulers[2] {45, -45} |
◆ cameraPos
| float AppState::cameraPos[3] = {0, 0, 0} |
◆ camr
| float AppState::camr = 1000 |
◆ drawableHeight
| int AppState::drawableHeight |
◆ drawableWidth
| int AppState::drawableWidth |
◆ files
| std::vector<std::string> AppState::files |
◆ glContext
| SDL_GLContext AppState::glContext |
◆ height
◆ inputGeometry
| std::unique_ptr<InputGeom> AppState::inputGeometry |
◆ isRotatingCamera
| bool AppState::isRotatingCamera = false |
◆ logScroll
| int AppState::logScroll = 0 |
◆ meshesFolder
| std::string AppState::meshesFolder = "Meshes" |
◆ meshName
| std::string AppState::meshName = "Choose Mesh..." |
◆ mouseOverMenu
| bool AppState::mouseOverMenu = false |
◆ mousePos
| int AppState::mousePos[2] {0, 0} |
◆ moveBack
| float AppState::moveBack = 0.0f |
◆ movedDuringRotate
| bool AppState::movedDuringRotate = false |
◆ moveDown
| float AppState::moveDown = 0.0f |
◆ moveFront
| float AppState::moveFront = 0.0f |
◆ moveLeft
| float AppState::moveLeft = 0.0f |
◆ moveRight
| float AppState::moveRight = 0.0f |
◆ moveUp
| float AppState::moveUp = 0.0f |
◆ origCameraEulers
| float AppState::origCameraEulers[2] = {0, 0} |
◆ origMousePos
| int AppState::origMousePos[2] {0, 0} |
◆ prevFrameTime
| Uint32 AppState::prevFrameTime = 0 |
◆ projectionMatrix
| double AppState::projectionMatrix[16] |
◆ rayEnd
| float AppState::rayEnd[3] |
◆ rayStart
| float AppState::rayStart[3] |
◆ sample
| std::unique_ptr<Sample> AppState::sample |
◆ sampleIndex
| int AppState::sampleIndex = -1 |
◆ scrollZoom
| float AppState::scrollZoom = 0 |
◆ showLog
| bool AppState::showLog = false |
◆ showMenu
| bool AppState::showMenu = true |
◆ showTestCases
| bool AppState::showTestCases = false |
◆ showTools
| bool AppState::showTools = true |
◆ testCase
| std::unique_ptr<TestCase> AppState::testCase |
◆ testCasesFolder
| std::string AppState::testCasesFolder = "TestCases" |
◆ timeAcc
| float AppState::timeAcc = 0.0f |
◆ viewport
| int AppState::viewport[4] |
◆ width
◆ window
| SDL_Window* AppState::window |
The documentation for this struct was generated from the following files: