Skip to content

Instantly share code, notes, and snippets.

View skypjack's full-sized avatar
💭
Working on EnTT and Minecraft

Michele Caini skypjack

💭
Working on EnTT and Minecraft
View GitHub Profile
@skypjack
skypjack / CMakeLists.txt
Created October 8, 2019 18:16 — forked from alanjfs/CMakeLists.txt
N-Body with Magnum and EnTT
cmake_minimum_required(VERSION 3.1)
project(nbody)
# Add module path in case this is project root
if(PROJECT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../../modules/" ${CMAKE_MODULE_PATH})
endif()
find_package(Magnum REQUIRED
@skypjack
skypjack / README.md
Created October 7, 2019 14:24 — forked from alanjfs/CMakeLists.txt
Pong with EnTT and Magnum

Pong

With Magnum and EnTT. An adaptation of ecs_pong which is example material for Flecs, another ECS framework, developed as a learning exercise of both Magnum, EnTT and ECS in general. Runs at a solid 60 fps, can you believe it?

pong2

There are NOTE markings left in the code to highlight various differences and things I struggled with and would have liked to have done.


@skypjack
skypjack / CMakeLists.txt
Created October 6, 2019 20:26 — forked from alanjfs/CMakeLists.txt
ECSY's documentation example, implemented with Magnum and EnTT
cmake_minimum_required(VERSION 3.1)
project(ECSY1)
# Add module path in case this is project root
if(PROJECT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../../modules/" ${CMAKE_MODULE_PATH})
endif()
find_package(Magnum REQUIRED