sm64coopdx/docs/lua/examples/gfx-vtx-demo/actors/shape/geo.inc.c
PeachyPeach 0f351e11fb
Some checks failed
Build coop / build-windows (push) Has been cancelled
Build coop / build-ubuntu (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
Gfx/Vtx improvements (#756)
- Renamed the `new` and `realloc` functions to `create` and `resize`
- Added `delete_all`
- Made Mod Data a class:
  - Allocation is now limited to prevent out-of-memory crashes: 1024 display lists of max size 2048 and 1024 vertex buffers of max size 4096 per mod
  - Added error codes to identify the cause of a failure (name not found, pointer not found, max size exceeded, item pool is full, ...)
2025-04-24 14:03:17 +10:00

8 lines
216 B
C

const GeoLayout shape_geo[] = {
GEO_SCALE(0, 0x8000),
GEO_OPEN_NODE(),
GEO_ASM(0, geo_update_shape),
GEO_DISPLAY_LIST(LAYER_OPAQUE, shape_template_dl),
GEO_CLOSE_NODE(),
GEO_END(),
};