Guest User

Untitled

a guest
Jan 22nd, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. (define-prefab "foo" (test)
  2. ("bar"
  3. ("baz"
  4. ("qux"))))
  5.  
  6. (define-prefab "table" (test)
  7. (fl.comp:mesh :location '(:mesh "table.glb"))
  8. (fl.comp:render :material 'table)
  9. ("glass/a/b"
  10. (fl.comp:mesh :location '(:mesh "cube.glb"))
  11. (fl.comp:render :material 'glass)
  12. ((:link "/foo/bar" :as "place/mat2")
  13. (fl.comp:transform :scale (fl.math:vec3 1))))
  14. ("glass/a/b/place/mat2"
  15. (fl.comp:render :material 'xxx)))
Add Comment
Please, Sign In to add comment