public virtual void Draw() { for (int i = 0; i < _actors.Length; i++) { Raylib.DrawGrid(20, 1.0f); _actors[i].Draw(); } }
private void Draw() { Raylib.BeginDrawing(); Raylib.BeginMode3D(_camera); Raylib.ClearBackground(Color.RAYWHITE); Raylib.DrawGrid(10, 1.0f); Raylib.EndMode3D(); Raylib.EndDrawing(); }
private void Draw() { Raylib.BeginDrawing(); Raylib.BeginMode3D(_camera); Raylib.ClearBackground(Color.DARKBLUE); Raylib.DrawSphere(new System.Numerics.Vector3(), 5, Color.RED); Raylib.DrawGrid(10, 1.0f); Raylib.EndMode3D(); Raylib.EndDrawing(); }
private void Draw() { Raylib.BeginDrawing(); Raylib.BeginMode3D(_camera); Raylib.ClearBackground(Color.DARKGRAY); Raylib.DrawSphere(new System.Numerics.Vector3(), 1, Color.PINK); Raylib.DrawGrid(20, 1.0f); Raylib.EndMode3D(); Raylib.EndDrawing(); }