remove vendor folder from gitignore
This commit is contained in:
+1
-1
@@ -42,5 +42,5 @@
|
|||||||
|
|
||||||
# Dependency files
|
# Dependency files
|
||||||
docs
|
docs
|
||||||
vendor
|
|
||||||
include
|
include
|
||||||
|
bin
|
||||||
|
|||||||
@@ -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
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user