vengine  0.0.1
3D graphics engine
Loading...
Searching...
No Matches
Config.hpp
Go to the documentation of this file.
1///
2/// @file Config.hpp
3/// @brief
4/// @namespace ven
5///
6
7#pragma once
8
9#ifdef _WIN32
10 #undef near
11 #undef far
12#endif
13
16
17namespace ven {
18
20 {
21 uint16_t width = DEFAULT_WIDTH;
23 bool fullscreen = false; // TODO: Implement fullscreen
24 };
25
34
35 struct Config
36 {
39 bool vsync = false; // TODO: Implement vsync
40 };
41
42} // namespace ven
This file contains the Camera class.
This file contains the Window class.
static constexpr uint32_t DEFAULT_WIDTH
Definition Window.hpp:18
static constexpr float DEFAULT_FOV
Definition Camera.hpp:16
static constexpr uint32_t DEFAULT_HEIGHT
Definition Window.hpp:19
static constexpr float DEFAULT_LOOK_SPEED
Definition Camera.hpp:21
static constexpr float DEFAULT_MOVE_SPEED
Definition Camera.hpp:20
static constexpr float DEFAULT_NEAR
Definition Camera.hpp:17
static constexpr float DEFAULT_FAR
Definition Camera.hpp:18
float move_speed
Definition Config.hpp:29
float look_speed
Definition Config.hpp:30
bool vsync
Definition Config.hpp:39
WindowConf window
Definition Config.hpp:37
CameraConf camera
Definition Config.hpp:38
uint16_t height
Definition Config.hpp:22
uint16_t width
Definition Config.hpp:21