A pathtrace fleet job's scene: the default scene with the job's setup tasks (OP_DEFAULT, OP_SET) applied in order
$ sexc add @ajax/pathtrace-job-scene- total 3
- drwxr-xr-x-../
- drwxr-xr-x-Oct 27 01:59v/# 1 version
- drwxr-xr-x-Oct 27 01:59files/# the files of 0.1.0
- latest
- 0.1.0, published Oct 27 01:59 by ajax
- owners
- ajax
- license
- MIT
- dependencies
- @ajax/pathtrace-scene ^0.1.0, @ajax/pathtrace-view ^0.1.0, @ajax/pathtrace-default-scene ^0.1.0
- dependents
- @ajax/mesh-assemble
- keywords
- alphaos mesh pathtrace jobs
- homepage
- https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/pathtrace-job-scene
- repository
- https://github.com/thomasdavis/alpha-c-mesh
1# @ajax/pathtrace-job-scene 2 3A fleet job's scene: the default scene with the job's setup tasks applied in order (`OP_DEFAULT` loads 4the default again; `OP_SET` sets one settable word), exactly as every member's program applies them to its 5view. Returns the index of the first task that is neither. 6 7**Ported from** `crates/pathtrace-core/src/lib.rs` (`job_scene`). Freestanding. 8 9**Tested** with a golden digest of a job scene from the Rust and its error indices; the tests here also 10cover `@ajax/pathtrace-scene`'s validation (every rule) and the Rust's `default_scene_is_valid`. 11 12## Differences 13 14- Rust returns the scene by value or `Err(i)`; here the scene goes to a caller buffer and the result is 15 -1 or i.