remove vendor folder from gitignore
This commit is contained in:
+1
-1
@@ -42,5 +42,5 @@
|
||||
|
||||
# Dependency files
|
||||
docs
|
||||
vendor
|
||||
include
|
||||
bin
|
||||
|
||||
@@ -11,7 +11,7 @@ platformpth = $(subst /,$(PATHSEP),$1)
|
||||
|
||||
# Set global macros
|
||||
buildDir := bin
|
||||
executable := app
|
||||
executable := FactoryBuilder
|
||||
target := $(buildDir)/$(executable)
|
||||
sources := $(call rwildcard,src/,*.cpp)
|
||||
objects := $(patsubst src/%, $(buildDir)/%, $(patsubst %.cpp, %.o, $(sources)))
|
||||
|
||||
+6
-11
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user