added colormap, more debug features

This commit is contained in:
Lauchmelder 2021-12-26 06:14:13 +01:00
parent d3525cc253
commit cf192262f2
12 changed files with 379 additions and 16 deletions

View file

@ -8,7 +8,8 @@ struct GLFWwindow;
struct WindowData
{
lol::Camera* camera;
OrbitingCamera* camera;
float aspectRatio;
};
class Application
@ -44,9 +45,14 @@ private:
OrbitingCamera camera;
float pitch, yaw, distance;
bool orthogonal = false;
float fov = 100.0f;
float width = 10.0f;
bool enableHeightMap = true;
bool enableColorMap = true;
bool enableScroll = false;
Topology* topology;
};