![]() |
TerraForge3D
2.3.1
3D Terrain And Landscape Generator
|
Public Member Functions | |
Camera (bool perspective=true) | |
nlohmann::json | Save () |
void | Load (nlohmann::json data) |
void | ShowSettings (bool renderWindow=false, bool *pOpen=nullptr) |
void | UpdateCamera (float xmax=800.0f, float ymax=600.0f) |
Public Attributes | |
glm::mat4 | view |
glm::mat4 | pers |
glm::mat4 | pv |
glm::vec3 | mposition |
glm::vec3 | mrotation |
glm::vec3 | cameraFront = glm::vec3(0.0f, 0.0f, -1.0f) |
glm::vec3 | cameraUp = glm::vec3(0.0f, 1.0f, 0.0f) |
float | pitch |
float | yaw |
float | roll |
float | fov |
float | cFar |
float | cNear |
float | aspect |
int | camID |
float | position [3] |
float | rotation [3] |
bool | perspective |