From 078dd1f6be8d0bb522faa1735f6042638769729b Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Fri, 6 Nov 2009 20:37:43 +0000 Subject: [PATCH] Add cloud tree --- src/Tree.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Tree.cpp b/src/Tree.cpp index 54c5a99..463d304 100644 --- a/src/Tree.cpp +++ b/src/Tree.cpp @@ -38,10 +38,11 @@ Tree::Tree() { const char* trees[] = { "data/images/a-tree.png", - "data/images/a-nother-tree.png" + "data/images/a-nother-tree.png", + "data/images/cloud-tree.png" }; - static UniformInt rnd(0, 1); + static UniformInt rnd(0, 2); billboard = makeCylindricalBillboard( loadTexture(trees[rnd()])); -- 2.39.2