42 lines
965 B
Plaintext
42 lines
965 B
Plaintext
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:
|
||
|
|
# `malunal::linear`, of the `physics` package.
|
||
|
|
- https://git.malunal.studio/malunal/physics@v1.0.0
|
||
|
|
|
||
|
|
targets:
|
||
|
|
- name: malunal.gltf
|
||
|
|
type: library
|
||
|
|
root: ./gltf
|
||
|
|
deps:
|
||
|
|
- malunal.linear
|
||
|
|
- std.containers
|
||
|
|
- std.io
|
||
|
|
- std.json
|
||
|
|
- std.math
|
||
|
|
|
||
|
|
tests:
|
||
|
|
# They write and read models of their own, under `.blossom/gltf tests/`.
|
||
|
|
- name: malunal.gltf.tests
|
||
|
|
type: program
|
||
|
|
deps: [malunal.gltf, malunal.linear, std.io, std.math, std.testing]
|
||
|
|
srcs:
|
||
|
|
- tests/main.sakura
|
||
|
|
- tests/support.sakura
|
||
|
|
- tests/reading.sakura
|
||
|
|
- tests/accessors.sakura
|
||
|
|
- tests/nodes.sakura
|
||
|
|
|
||
|
|
exports:
|
||
|
|
- malunal.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>
|