Integrate color model into all

This commit is contained in:
Hanno Braun 2024-01-30 10:59:28 +01:00
parent 16f34c6668
commit 8608473005
3 changed files with 5 additions and 0 deletions

1
Cargo.lock generated
View File

@ -59,6 +59,7 @@ dependencies = [
name = "all"
version = "0.1.0"
dependencies = [
"color",
"cuboid",
"fj",
"holes",

View File

@ -6,6 +6,9 @@ edition = "2021"
[dependencies.fj]
path = "../../crates/fj"
[dependencies.color]
path = "../color"
[dependencies.cuboid]
path = "../cuboid"

View File

@ -19,6 +19,7 @@ pub fn model(services: &mut Services) -> Solid {
let angle_rad = Scalar::PI / 6.;
let models = [
color::model(services),
cuboid::model([1., 2., 3.], services),
holes::model(0.5, services),
spacer::model(2., 1., 1., services),