blob: 94f2cae6b95e5f006e07d1d3f718305c36598a6d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "john.h"
void initJohn(Entity* entity)
{
entity->box = (BoundingBox){
.min = (Vector3){-SHOPKEEPER_WIDTH, -SHOPKEEPER_HEIGHT,
-SHOPKEEPER_THICKNESS},
.max = (Vector3){SHOPKEEPER_WIDTH, SHOPKEEPER_HEIGHT,
SHOPKEEPER_THICKNESS}
};
}
void updateJohn(Entity* entity, Game* game)
{
DrawModel(game->assets.models[JOHN_MODEL], entity->position, 1.0, WHITE);
}
|