Blame projects/forest/tree.h

dab153
#ifndef TREE_H
dab153
#define TREE_H
dab153
dab153
815578
#include <helianthus.h></helianthus.h>
815578
3395b9
#include "common.h"
3395b9
3395b9
dab153
typedef struct {
dab153
  int seed;
dab153
  double x, y;
dab153
  double angle;
dab153
  double width;
815578
  
815578
  unsigned int texId;
815578
  double bl, bt, br, bb;
dab153
} Tree;
dab153
dab153
3395b9
void treeGenerate(Tree *t, double x, double y);
3395b9
void treeDraw(const Tree *t, double time, int flags);
815578
void treePrerender(Tree *t, Framebuffer fb);
815578
void treeDrawPrerendered(Tree *t);
815578
dab153
dab153
dab153
#endif