28 lines
562 B
C++
28 lines
562 B
C++
|
|
|
|
/*
|
|
# ______ ____ ___
|
|
# | \/ ____| |___|
|
|
# | | | \ | |
|
|
#-----------------------------------------------------------------------
|
|
# Copyright 2020, tyra - https://github.com/h4570/tyra
|
|
# Licenced under Apache License 2.0
|
|
# Sandro Sobczyński <sandro.sobczynski@gmail.com>
|
|
*/
|
|
|
|
#ifndef _TYRA_SCREEN_SETTINGS_
|
|
#define _TYRA_SCREEN_SETTINGS_
|
|
|
|
struct ScreenSettings
|
|
{
|
|
float fov;
|
|
float width;
|
|
float height;
|
|
float aspectRatio;
|
|
float nearPlaneDist;
|
|
float farPlaneDist;
|
|
float projectionScale;
|
|
};
|
|
|
|
#endif
|