You've already forked flecs_tests
Rebuild from scratch with a new strategy using compute shaders and SDF.
This commit is contained in:
@@ -5,12 +5,12 @@ LIB_DIR="lib"
|
||||
|
||||
echo "=== Fetching library dependencies ==="
|
||||
|
||||
# 1. Sokol (single-file headers)
|
||||
mkdir -p "$LIB_DIR/sokol"
|
||||
mkdir -p "$LIB_DIR/imgui"
|
||||
mkdir -p "$LIB_DIR/util"
|
||||
mkdir -p "$LIB_DIR/cglm"
|
||||
|
||||
# 1. Sokol (single-file headers)
|
||||
if [ ! -f "$LIB_DIR/sokol/sokol_gfx.h" ]; then
|
||||
echo " > Fetching sokol (pinned to emdawnwebgpu-compatible version)..."
|
||||
git clone --depth 500 https://github.com/floooh/sokol.git "$LIB_DIR/sokol_tmp"
|
||||
@@ -59,4 +59,14 @@ else
|
||||
echo " > cglm already present"
|
||||
fi
|
||||
|
||||
# 5. sokol_gp.h
|
||||
if [ ! -f "$LIB_DIR/sokol/sokol_gp.h" ]; then
|
||||
echo " > Fetching cglm..."
|
||||
git clone --depth 1 https://github.com/edubart/sokol_gp.git "$LIB_DIR/sokol_gp_tmp"
|
||||
cp -r "$LIB_DIR/sokol_gp_tmp/sokol_gp.h" "$LIB_DIR/sokol/sokol_gp.h"
|
||||
rm -rf "$LIB_DIR/sokol_gp_tmp"
|
||||
else
|
||||
echo " > sokol_gp.h already present"
|
||||
fi
|
||||
|
||||
echo "=== Done ==="
|
||||
|
||||
Reference in New Issue
Block a user