Skip to content

jviney/hazel

Repository files navigation

Hazel

This repository is following the game engine series by TheCherno.

It is being developed on macOS using VS Code with a CMake build system, instead of Windows using Visual Studio with Premake.

Changes for macOS and CMake:

  • glfwWindowHint() calls to get macOS to load OpenGL 4.1.
  • Limited to OpenGL 4.1 because that is all macOS supports.
  • Correct scaling for retina displays with ImGui.
  • ImGui git submodule uses a fork with CMake support.

Please support TheCherno on Patreon.

Building

brew install glfw

git clone --recursive https://github.com/jviney/hazel
cd hazel/build
cmake ..
make -j2
./sandbox

Create Xcode project

mkdir build-xcode
cd build-xcode
cmake -G Xcode ..
open hazel.xcodeproj

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published