aboutsummaryrefslogtreecommitdiff
path: root/src/entities/generale.c
blob: 8e86e3f28fe2a152e3f5a70961174109c3afa81e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "generale.h"
#include "assets.h"
#include "game.h"

void initGenerale(Entity * entity, Game * game) {
	entity->model = &game->assets.models[GENERALE_ASSET];
	entity->velocity.angularVelocity = (AxisAngle){(Vector3){1.0, 1.0, 1.0}, 1.0};
}

void closeGenerale(Entity * entity) {
}

void updateGenerale(Game * game, Entity * entity) {
	entityUpdateRotation(entity);
}

void drawGenerale(Game * game, Entity * entity) {
	entityDraw(entity);
}