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
+1 -1
View File
@@ -42,5 +42,5 @@
# Dependency files # Dependency files
docs docs
vendor
include include
bin
+1 -1
View File
@@ -11,7 +11,7 @@ platformpth = $(subst /,$(PATHSEP),$1)
# Set global macros # Set global macros
buildDir := bin buildDir := bin
executable := app executable := FactoryBuilder
target := $(buildDir)/$(executable) target := $(buildDir)/$(executable)
sources := $(call rwildcard,src/,*.cpp) sources := $(call rwildcard,src/,*.cpp)
objects := $(patsubst src/%, $(buildDir)/%, $(patsubst %.cpp, %.o, $(sources))) objects := $(patsubst src/%, $(buildDir)/%, $(patsubst %.cpp, %.o, $(sources)))
+6 -11
View File
@@ -1,11 +1,11 @@
#include <raylib-cpp.hpp> #include "../include/raylib-cpp.hpp"
#include <iostream>
int main() { int main() {
int screenWidth = 800; int screenWidth = 1920;
int screenHeight = 450; int screenHeight = 1080;
raylib::Window window(screenWidth, screenHeight, "raylib-cpp - basic window"); raylib::Window window(screenWidth, screenHeight, "raylib-cpp - basic window");
raylib::Texture logo("raylib_logo.png");
SetTargetFPS(60); SetTargetFPS(60);
@@ -13,14 +13,9 @@ int main() {
{ {
BeginDrawing(); BeginDrawing();
window.ClearBackground(RAYWHITE); window.ClearBackground(BLACK);
DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY); DrawText("Congrats! You created your first window!", 190, 200, 20, WHITE);
// Object methods.
logo.Draw(
screenWidth / 2 - logo.GetWidth() / 2,
screenHeight / 2 - logo.GetHeight() / 2);
EndDrawing(); EndDrawing();
} }