- struct Tree {
- Tree(const SGVec3f& p, string t, float h, float w, double r) :
- position(p), texture(t), height(h), width(w), range(r)
- { }
- SGVec3f position;
- string texture;
- float height;
- float width;
- double range;
- };
+ struct Tree {
+ Tree(const SGVec3f& p, int t, float s) :
+ position(p), texture_index(t), scale(s)
+ { }
+ SGVec3f position;
+ int texture_index;
+ float scale;
+ };
+