2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-06-30 19:03:42 -04:00

Fixed VR issue

- Fixed werid graphical bug with VR. Issue was with the struct for VrDeviceInfo.
This commit is contained in:
2018-11-22 15:00:25 +00:00
parent 654d9c4347
commit 2e6a583193
8 changed files with 62 additions and 131 deletions

View File

@ -1,8 +1,5 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.Model;
using static Raylib.CameraMode;
using System;
public enum LightType
{
@ -26,18 +23,8 @@ public struct Light
public int colorLoc;
}
public partial class models_material_pbr
{
/*******************************************************************************************
*
* raylib [models] example - PBR material
@ -124,7 +111,6 @@ public partial class models_material_pbr
DrawFPS(10, 10);
EndDrawing();
//----------------------------------------------------------------------------------
//----------------------------------------------------------------------------------
}
@ -262,5 +248,3 @@ public partial class models_material_pbr
UpdateLightValues(shader, light);
lightsCount++;
}
return light;