refactor
This commit is contained in:
@@ -24,12 +24,12 @@ namespace RecrownedAthenaeum.Camera
|
||||
/// </summary>
|
||||
public Matrix Matrix { get; private set; }
|
||||
|
||||
private GraphicsDevice graphicsDevice = Setup.graphicsDeviceManager.GraphicsDevice;
|
||||
private GraphicsDevice graphicsDevice = Configuration.graphicsDeviceManager.GraphicsDevice;
|
||||
|
||||
/// <summary>
|
||||
/// Constructs 2D camera.
|
||||
/// </summary>
|
||||
/// <param name="graphicsDevice">The graphics device to use. Will use graphics device from <see cref="Setup"/>'s graphics device manager if this is null which it is by default.</param>
|
||||
/// <param name="graphicsDevice">The graphics device to use. Will use graphics device from <see cref="Configuration"/>'s graphics device manager if this is null which it is by default.</param>
|
||||
public Camera2D(GraphicsDevice graphicsDevice = null)
|
||||
{
|
||||
if (graphicsDevice != null) this.graphicsDevice = graphicsDevice;
|
||||
|
Reference in New Issue
Block a user