#[non_exhaustive]pub struct GltfScaleArtifactProof {
pub core: ScaleProof,
pub length_factor_residual: f64,
pub dimensionless_residual: f64,
pub preserved_byte_ranges: usize,
pub rewritten_accessor_count: usize,
}Expand description
Observed artifact-level evidence from prove_rewritten_artifact or
super::prove_rewritten_rest_bind.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.core: ScaleProofThe in-memory candidate proof, run on the reloaded artifact.
length_factor_residual: f64Maximum abs(after - before * m) across every rewritten raw element,
in JSON and in buffer payloads, where m is the multiplier that
element’s domain analytically requires: the declared q for a
whole-document conversion, and s_parent, s_parent / s_i or s_i
per DESIGN.md Appendix D §D.2 for a rest/bind reparameterization.
dimensionless_residual: f64Maximum abs(after - before) across every element that lives inside
a rewritten range and must nevertheless come through unchanged — a
whole-document MAT4 linear part, a matrix node’s homogeneous row,
an unaffected joint’s inverse-bind slot, and the untouched entries of
a rewritten accessor’s min/max. Everything outside a rewritten
range is proved byte-identical instead.
preserved_byte_ranges: usizeNumber of maximal buffer byte ranges outside the rewritten accessor ranges that were verified byte-identical to the source.
rewritten_accessor_count: usizeNumber of unique accessors rewritten.
Trait Implementations§
Source§impl Clone for GltfScaleArtifactProof
impl Clone for GltfScaleArtifactProof
Source§fn clone(&self) -> GltfScaleArtifactProof
fn clone(&self) -> GltfScaleArtifactProof
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more