Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
FC2: clay.rs moves to raea-sys-material (re-exported by scene3d, whose crate was over 2000 lines); rot_of and scale_of, no longer read, folded into transform_by
shinyobjectz011cd1bd6c4a
diff --git a/runtime/scene3d/src/lib.rs b/runtime/scene3d/src/lib.rsindex 7dba1d52..75a71384 100644--- a/runtime/scene3d/src/lib.rs+++ b/runtime/scene3d/src/lib.rs@@ -65,7 +65,7 @@ mod instance;pub use instance::*;mod share;pub use share::*;-pub mod clay;+pub use raea_sys_material::clay;/// A model row's glTF: loaded by the asset server, then its scene spawned under the row's entity and its clip set up.#[derive(Component)]diff --git a/systems/frame/src/lib.rs b/systems/frame/src/lib.rsindex 46df66ef..777a1aff 100644--- a/systems/frame/src/lib.rs+++ b/systems/frame/src/lib.rs@@ -336,10 +336,6 @@ pub fn flag(vals: &BTreeMap<String, V>, k: &str, d: bool) -> bool {vals.get(k).map(V::truthy).unwrap_or(d)}-pub fn scale_of(vals: &BTreeMap<String, V>) -> Vec3 {- scale_by(&|i| at(vals, i))-}-fn scale_by(n: &impl Fn(usize) -> Option<f32>) -> Vec3 {let s = n(10).unwrap_or(1.0);Vec3::new(n(11).unwrap_or(s), n(12).unwrap_or(s), n(13).unwrap_or(s))@@ -347,10 +343,6 @@ fn scale_by(n: &impl Fn(usize) -> Option<f32>) -> Vec3 {/// A row's rotation: its quaternion (q_x q_y q_z q_w, what runtime/scene writes: docs/control.feature FC1d), or/// rot_x rot_y rot_z (radians, YXZ) where a row was written that way-pub fn rot_of(vals: &BTreeMap<String, V>) -> Quat {- rot_by(&|i| at(vals, i))-}-fn rot_by(n: &impl Fn(usize) -> Option<f32>) -> Quat {let g = |i, d| n(i).unwrap_or(d);if n(9).is_some() {diff --git a/runtime/scene3d/src/clay.rs b/systems/material/src/clay.rssimilarity index 100%rename from runtime/scene3d/src/clay.rsrename to systems/material/src/clay.rsdiff --git a/systems/material/src/lib.rs b/systems/material/src/lib.rsindex 151115ee..cbd0de5f 100644--- a/systems/material/src/lib.rs+++ b/systems/material/src/lib.rs@@ -10,6 +10,7 @@ use bevy::prelude::*;use raea_core_program::ir::V;use raea_sys_frame::*;+pub mod clay;pub mod decal;pub mod fields;pub mod lightmap;