name: gltf
gpid: malunal
semv: 1.0.0

options:
  level: 2

requires:
- https://git.malunal.studio/sakura/std@v1.0.0
# Vectors, rotations, and matrices, which nodes are placed by: `physics`'s
# `linear`.
- https://git.malunal.studio/malunal/physics@v1.0.0

targets:
- name: gltf
  type: library
  root: ./gltf
  deps:
  - linear
  - std.containers
  - std.io
  - std.json
  - std.math

tests:
# They write and read models of their own, under `.blossom/gltf tests/`.
- name: gltf.tests
  type: program
  deps: [gltf, linear, std.io, std.math, std.testing]
  srcs:
  - tests/main.sakura
  - tests/support.sakura
  - tests/reading.sakura
  - tests/accessors.sakura
  - tests/nodes.sakura

exports:
- gltf

package:
  desc: Models read from glTF 2.0, as .gltf and its files or .glb, whole and checked, with what their accessors hold read as numbers.
  auth: John Christman <sorakatadzuma@gmail.com>
