remove vendor folder from gitignore

This commit is contained in:
2025-08-30 18:05:53 +02:00
parent dd22f6b92f
commit cb954445a2
3 changed files with 8 additions and 13 deletions
+6 -11
View File
@@ -1,11 +1,11 @@
#include <raylib-cpp.hpp>
#include "../include/raylib-cpp.hpp"
#include <iostream>
int main() {
int screenWidth = 800;
int screenHeight = 450;
int screenWidth = 1920;
int screenHeight = 1080;
raylib::Window window(screenWidth, screenHeight, "raylib-cpp - basic window");
raylib::Texture logo("raylib_logo.png");
SetTargetFPS(60);
@@ -13,14 +13,9 @@ int main() {
{
BeginDrawing();
window.ClearBackground(RAYWHITE);
window.ClearBackground(BLACK);
DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY);
// Object methods.
logo.Draw(
screenWidth / 2 - logo.GetWidth() / 2,
screenHeight / 2 - logo.GetHeight() / 2);
DrawText("Congrats! You created your first window!", 190, 200, 20, WHITE);
EndDrawing();
}