aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities/ron.c
blob: bd32e6a1d2f924a6ac7eda64ad813f581dc17a06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "ron.h"

void initRon(Entity* entity)
{
  entity->box = (BoundingBox){
    .min = (Vector3){-SHOPKEEPER_WIDTH, -SHOPKEEPER_HEIGHT,
                     -SHOPKEEPER_THICKNESS},
    .max = (Vector3){SHOPKEEPER_WIDTH, SHOPKEEPER_HEIGHT,
                     SHOPKEEPER_THICKNESS}
  };
}

void updateRon(Entity* entity, Game* game)
{
  DrawModel(game->assets.models[RON_MODEL], entity->position, 1.0, WHITE);
}