Add flecs ECS
This commit is contained in:
6
main.cpp
6
main.cpp
@@ -1,10 +1,10 @@
|
||||
#include <SDL3/SDL.h>
|
||||
#include <SDL3/SDL_error.h>
|
||||
#include <SDL3/SDL_render.h>
|
||||
#include <flecs.h>
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
const uint8_t image_data[] =
|
||||
{
|
||||
const uint8_t image_data[] = {
|
||||
#embed "main.cpp"
|
||||
};
|
||||
|
||||
@@ -27,6 +27,8 @@ auto main() -> int {
|
||||
SDL_GetError());
|
||||
}
|
||||
|
||||
flecs::world world;
|
||||
|
||||
bool exit_gameloop = false;
|
||||
while (!exit_gameloop) {
|
||||
SDL_Event event;
|
||||
|
||||
Reference in New Issue
Block a user