diff --git a/Program.cs b/Program.cs index 04ccc09..b87b1e4 100644 --- a/Program.cs +++ b/Program.cs @@ -35,7 +35,7 @@ void Init(int screenWidth, int screenHeight, int fps) var up = new Vector3(0.0f, 1.0f, 0.0f); InitWindow(screenWidth, screenHeight, $"PlayBark"); - World.Camera(pos, target, up, CameraProjection.Perspective); + World3D.InitCamera(pos, target, up, CameraProjection.Perspective); SetTargetFPS(fps); } diff --git a/World.cs b/World3D.cs similarity index 70% rename from World.cs rename to World3D.cs index 4c73478..7932cd9 100644 --- a/World.cs +++ b/World3D.cs @@ -1,9 +1,9 @@ // I hereby waive this project under the public domain - see UNLICENSE for details. namespace PlayBark; -internal static class World +internal static class World3D { - public static Camera3D Camera(Vector3 pos, Vector3 target, Vector3 up, CameraProjection projection) + public static Camera3D InitCamera(Vector3 pos, Vector3 target, Vector3 up, CameraProjection projection) { Camera3D camera = new(); camera.Position = pos;