-
-
Notifications
You must be signed in to change notification settings - Fork 183
Expand file tree
/
Copy pathrun_all_examples.sh
More file actions
executable file
·61 lines (55 loc) · 1.02 KB
/
run_all_examples.sh
File metadata and controls
executable file
·61 lines (55 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
# Run all kiss3d examples sequentially.
# Close each window to proceed to the next example.
set -e
cd "$(dirname "$0")"
# All examples (extracted from examples/*.rs)
EXAMPLES=(
cube
primitives
primitives_scale
primitives2d
multi_light
wireframe
lines
lines2d
points
points2d
text
group
add_remove
camera
dda_raycast2d
event
mouse_events
custom_mesh
custom_mesh_shared
custom_material
procedural
quad
rectangle
obj
texturing
texturing_mipmaps
stereo
post_processing
instancing2d
instancing3d
polylines
polyline_strip
polylines2d
screenshot
recording
window
multi_windows
ui
)
echo "Running ${#EXAMPLES[@]} kiss3d examples..."
echo "Close each window to proceed to the next example."
echo ""
for example in "${EXAMPLES[@]}"; do
echo "=== Running: $example ==="
cargo run --release --example "$example" --features egui
echo ""
done
echo "All examples completed!"