1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-04-20 02:51:50 +02:00

minor fixes

This commit is contained in:
XProger 2020-02-20 05:23:51 +03:00
parent fbd5ccda5b
commit 9e904600a6
3 changed files with 2 additions and 2 deletions

View File

@ -13,6 +13,7 @@
#define OS_PTHREAD_MT
#define USE_CUBEMAP_MIPS
#ifdef WIN32
#define _OS_WIN 1
#define _GAPI_GL 1

View File

@ -21,7 +21,6 @@
#ifdef DECODE_OGG
#ifdef USE_LIBVORBIS
#include <tremor/ivorbisfile.h>
#include <tremor/ivorbiscodec.h>
#else
#define STB_VORBIS_HEADER_ONLY
#include "libs/stb_vorbis/stb_vorbis.c"

View File

@ -789,7 +789,7 @@ namespace UI {
mat4 mView = Core::mView;
Core::mView.scale(vec3(0.5f));
Core::mView.translate(vec3(-Core::eye * CAM_EYE_SEPARATION, 0.0f, 0.0f));
//Core::mView.translate(vec3(-Core::eye * CAM_EYE_SEPARATION, 0.0f, 0.0f));
Core::setViewProj(Core::mView, Core::mProj);
vec3 lightOffset = vec3(UI::width - 64.0f, UI::height - 64.0f, 2048.0f);