From b8cd12302e00f661d9d5a37a0a0393b630ce8603 Mon Sep 17 00:00:00 2001 From: Tony Bark Date: Fri, 21 Mar 2025 00:43:27 -0400 Subject: [PATCH] Renamed World to World3D - Renamed World3D's Camera to InitCamera --- Program.cs | 2 +- World.cs => World3D.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename World.cs => World3D.cs (70%) 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;