mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-16 10:22:59 +08:00
Moved all GameFiles to CodeWalker.Core
This commit is contained in:
@@ -27,7 +27,7 @@ namespace CodeWalker.Rendering
|
||||
|
||||
public ShaderManager shaders;
|
||||
|
||||
public Camera camera = new Camera();
|
||||
public Camera camera;
|
||||
|
||||
private double currentRealTime = 0;
|
||||
private float currentElapsedTime = 0;
|
||||
@@ -154,9 +154,12 @@ namespace CodeWalker.Rendering
|
||||
gameFileCache = cache;
|
||||
if (gameFileCache == null)
|
||||
{
|
||||
gameFileCache = new GameFileCache();
|
||||
gameFileCache = GameFileCacheFactory.Create();
|
||||
}
|
||||
renderableCache = new RenderableCache();
|
||||
|
||||
var s = Settings.Default;
|
||||
camera = new Camera(s.CameraSmoothing, s.CameraSensitivity, s.CameraFieldOfView);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user