Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (define-prefab "foo" (test)
- ("bar"
- ("baz"
- ("qux"))))
- (define-prefab "table" (test)
- (fl.comp:mesh :location '(:mesh "table.glb"))
- (fl.comp:render :material 'table)
- ("glass/a/b"
- (fl.comp:mesh :location '(:mesh "cube.glb"))
- (fl.comp:render :material 'glass)
- ((:link "/foo/bar" :as "place/mat2")
- (fl.comp:transform :scale (fl.math:vec3 1))))
- ("glass/a/b/place/mat2"
- (fl.comp:render :material 'xxx)))
Add Comment
Please, Sign In to add comment