blob: 2fc5f6a7c715a3f69ca2daf21ae443f2dca67b78 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "bush.h"
void initBush(Entity* entity)
{
entity->box = entityBoxFromScale(BUSH_SCALE, BUSH_WIDTH, BUSH_HEIGHT);
}
void updateBush(Entity* entity, Game* game)
{
DrawBillboard(game->player.camera, game->assets.textures[BUSH_TEXTURE],
entity->position, BUSH_SCALE, WHITE);
}
|