j
jaipkg.dev
packages / binding / raygizmo-jai

raygizmo-jai

36046c8binding

raylib gizmo bindings for Jai (GH Mirror)

No license · updated 6 months ago

Raylib-Gizmo Bindings for Jai

Consult the original repository for more information.

Note: I only used it on Linux. If it doesn't work on Windows or Mac, send me a patch, or more information what exactly did not work.

Note Copyright / Licenses

The MIT license only affects code written in raygizmo/generate.jai and examples/*.jai.

Code written in src/raylib-gizmo and third-party/raylib-jai have different licenses, which you can consult in the submodules.

Assets in examples/resources are copyright by Claudio Z. (@cloudofoz)

Build

raygizmo

This repository contains submodules which must be initialized after cloning it:

git submodule update --init --recursive

It clones raylib-gizmo and raylib-jai.

(To generate the bindings, you only need raylib-gizmo. raylib-jai is only needed for building the examples.)

Generate the bindings with:

cd raygizmo
jai generate.jai

Then you can add/symlink the raygizmo directory to your projects modules directory.

Note on static libs

Currently, it only builds a static library.

Examples

You can build the examples via:

cd examples
jai build_examples.jai

Contribution

Send me a patch via mail to dev [at] ptrace [dot] dev.

Dev

Sub Modules

Init submodules

git submodule update --init --recursive

Update Submodule

cd third-party/<module>
git pull origin main
cd ../..
git add third-party/<module>
git commit -m "Updated <module> submodule"

Add Submodule

git submodule add <repository-url> third-party/<module>
git submodule update --init --recursive
git add third-party/<module>
git commit -m "Added <module> submodule"