mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-22 16:16:12 +00:00
Integrate color
model into all
This commit is contained in:
parent
16f34c6668
commit
8608473005
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -59,6 +59,7 @@ dependencies = [
|
|||||||
name = "all"
|
name = "all"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
"color",
|
||||||
"cuboid",
|
"cuboid",
|
||||||
"fj",
|
"fj",
|
||||||
"holes",
|
"holes",
|
||||||
|
@ -6,6 +6,9 @@ edition = "2021"
|
|||||||
[dependencies.fj]
|
[dependencies.fj]
|
||||||
path = "../../crates/fj"
|
path = "../../crates/fj"
|
||||||
|
|
||||||
|
[dependencies.color]
|
||||||
|
path = "../color"
|
||||||
|
|
||||||
[dependencies.cuboid]
|
[dependencies.cuboid]
|
||||||
path = "../cuboid"
|
path = "../cuboid"
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ pub fn model(services: &mut Services) -> Solid {
|
|||||||
let angle_rad = Scalar::PI / 6.;
|
let angle_rad = Scalar::PI / 6.;
|
||||||
|
|
||||||
let models = [
|
let models = [
|
||||||
|
color::model(services),
|
||||||
cuboid::model([1., 2., 3.], services),
|
cuboid::model([1., 2., 3.], services),
|
||||||
holes::model(0.5, services),
|
holes::model(0.5, services),
|
||||||
spacer::model(2., 1., 1., services),
|
spacer::model(2., 1., 1., services),
|
||||||
|
Loading…
Reference in New Issue
Block a user