Update mesh clone test (#6597)
This commit is contained in:
@ -1,13 +1,18 @@
|
||||
import "../inputs/cube.obj" as cube
|
||||
@(lengthUnit = m)
|
||||
import "../inputs/cube.obj" as yellow
|
||||
|
||||
model = cube
|
||||
yellow
|
||||
|> translate(%, x = -2000, y = -2000)
|
||||
appearance(yellow, color = "#ffff00")
|
||||
|
||||
model2 = clone(model)
|
||||
|> translate(
|
||||
x = 1020,
|
||||
)
|
||||
|> appearance(
|
||||
color = "#ff0000",
|
||||
metalness = 50,
|
||||
roughness = 50
|
||||
)
|
||||
red = clone(yellow)
|
||||
|> translate(%, x = 4000)
|
||||
appearance(red, color = "#ff0000")
|
||||
|
||||
green = clone(yellow)
|
||||
|> translate(%, y = 4000)
|
||||
appearance(green, color = "#00ff00")
|
||||
|
||||
blue = clone(red)
|
||||
|> translate(%, y = 4000)
|
||||
appearance(blue, color = "#0000ff")
|
||||
|
Reference in New Issue
Block a user