Update project settings
This commit is contained in:
parent
e6c3d8532f
commit
01e1bd93a9
3 changed files with 13 additions and 3 deletions
|
|
@ -712,8 +712,8 @@ namespace Raylib
|
||||||
public float eyeToScreenDistance;
|
public float eyeToScreenDistance;
|
||||||
public float lensSeparationDistance;
|
public float lensSeparationDistance;
|
||||||
public float interpupillaryDistance;
|
public float interpupillaryDistance;
|
||||||
public float[] lensDistortionValues = new float[4];
|
public float[] lensDistortionValues;
|
||||||
public float[] chromaAbCorrection = new float[4];
|
public float[] chromaAbCorrection;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
@ -2210,6 +2210,9 @@ namespace Raylib
|
||||||
{
|
{
|
||||||
VrDeviceInfo hmd = new VrDeviceInfo(); // Current VR device info
|
VrDeviceInfo hmd = new VrDeviceInfo(); // Current VR device info
|
||||||
|
|
||||||
|
hmd.lensDistortionValues = new float[4];
|
||||||
|
hmd.chromaAbCorrection = new float[4];
|
||||||
|
|
||||||
switch (vrDeviceType)
|
switch (vrDeviceType)
|
||||||
{
|
{
|
||||||
case VrDeviceType.HMD_DEFAULT_DEVICE:
|
case VrDeviceType.HMD_DEFAULT_DEVICE:
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,10 @@
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Bindings\Bindings.csproj" />
|
<ProjectReference Include="..\Bindings\Bindings.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,9 @@
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Bindings\Bindings.csproj" />
|
<ProjectReference Include="..\Bindings\Bindings.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue