From 5f24cc4fba6a4f197dd7b3dd786b582c3cacb1d5 Mon Sep 17 00:00:00 2001 From: bloeys Date: Sat, 22 Jan 2022 07:48:11 +0400 Subject: [PATCH] Support apple silicon+update usage instructions --- README.md | 5 +++-- go.mod | 2 +- go.sum | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 04f6df6..6afea6a 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ nMage is a (hopefully!) high performance 3D Game Engine written in Go being deve This project is being built with the goals being (in no particular order): +* To build a good game engine that can be used to develop full fledged games (as opposed to just demos and proofs-of-concept) * Sharing knowledge about less popular/less taught (e.g. compared to web dev), yet very powerful computing topics by building things and explaining as we go * Showing the development process of large, high performance software, including things like: learning unfamiliar topics, reading docs, fixing bugs and profiling and optimizing -* To build a good game engine that can actually be used to develop games * Have fun through the entire thing! ## Running the code @@ -17,7 +17,8 @@ To run the project you need: * A C/C++ compiler installed and in your path * Windows: [MingW](https://www.mingw-w64.org/downloads/#mingw-builds) or similar * Mac/Linux: Should be installed by default, but if not try [GCC](https://gcc.gnu.org/) or [Clang](https://releases.llvm.org/download.html) +* Get the required [assimp-go](https://github.com/bloeys/assimp-go) DLLs/DyLibs and place them correctly by following the `assimp-go` [README](https://github.com/bloeys/assimp-go#using-assimp-go). -Then simply clone and use `go run .` +Then run nMage with `go run .` > Note: that it might take a while to run the first time because of downloading/compiling dependencies. diff --git a/go.mod b/go.mod index f54b822..3cbb7ff 100755 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require github.com/veandco/go-sdl2 v0.4.10 require github.com/go-gl/gl v0.0.0-20211025173605-bda47ffaa784 require ( - github.com/bloeys/assimp-go v0.3.1 + github.com/bloeys/assimp-go v0.3.2 github.com/bloeys/gglm v0.3.1 github.com/inkyblackness/imgui-go/v4 v4.3.0 ) diff --git a/go.sum b/go.sum index dcb635c..20ae42c 100755 --- a/go.sum +++ b/go.sum @@ -1,5 +1,7 @@ github.com/bloeys/assimp-go v0.3.1 h1:GANPXH8ER/4B/XsxZOw03GLZi2qKiWapSJ9dntrGoic= github.com/bloeys/assimp-go v0.3.1/go.mod h1:my3yRxT7CfOztmvi+0svmwbaqw0KFrxaHxncoyaEIP0= +github.com/bloeys/assimp-go v0.3.2 h1:CsKnLloWZyn6uYNNaQE2Jq2Q+yH4d71A+CxbpU2flng= +github.com/bloeys/assimp-go v0.3.2/go.mod h1:my3yRxT7CfOztmvi+0svmwbaqw0KFrxaHxncoyaEIP0= github.com/bloeys/gglm v0.3.1 h1:Sy9upW7SBsBfDXrSmEhid3aQ+7J7itej+upwcxOnPMQ= github.com/bloeys/gglm v0.3.1/go.mod h1:qwJQ0WzV191wAMwlGicbfbChbKoSedMk7gFFX6GnyOk= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=