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:
@ -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;
|
||||
|
Reference in New Issue
Block a user