Fixed a few warnings.
This commit is contained in:
parent
d2a4acbf3d
commit
a71dc9ae0f
@ -3,7 +3,6 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Resources;
|
||||
using System.IO;
|
||||
|
||||
#endregion // Using Statements
|
||||
|
||||
|
@ -59,8 +59,9 @@ namespace ANX.Framework.Storage
|
||||
|
||||
private DriveInfo storageDrive;
|
||||
private Func<string, StorageContainer> openContainerDelegate = null;
|
||||
|
||||
#pragma warning disable 0067 //This event is never used
|
||||
public static event EventHandler<EventArgs> DeviceChanged;
|
||||
#pragma warning restore 0067
|
||||
|
||||
internal StorageDevice(string storagePath)
|
||||
{
|
||||
|
@ -74,7 +74,7 @@ namespace ANX.InputSystem.Windows.Kinect
|
||||
|
||||
public Kinect()
|
||||
{
|
||||
pNui = new Runtime();
|
||||
pNui = Runtime.Kinects[0];
|
||||
pNui.Initialize(RuntimeOptions.UseDepthAndPlayerIndex | RuntimeOptions.UseSkeletalTracking | RuntimeOptions.UseColor);
|
||||
pNui.SkeletonEngine.TransformSmooth = true;
|
||||
|
||||
|
@ -10,7 +10,6 @@ using ANX.Framework.NonXNA;
|
||||
using ANX.Framework.Graphics;
|
||||
using SharpDX.Direct3D11;
|
||||
using ANX.Framework;
|
||||
using ANX.Framework.Graphics;
|
||||
using SharpDX.D3DCompiler;
|
||||
|
||||
#endregion // Using Statements
|
||||
|
Loading…
x
Reference in New Issue
Block a user