blob: bf95235b9759be387bb3b42b5f6da4328cc1c37c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "caporale.h"
#include "assets.h"
#include "game.h"
void initCaporale(Entity * entity, Game * game) {
entity->model = &game->assets.models[CAPORATE_ASSET];
entity->velocity.angularVelocity = (AxisAngle){(Vector3){1.0, 1.0, 1.0}, 1.0};
}
void closeCaporale(Entity * entity) {
}
void updateCaporale(Game * game, Entity * entity) {
entityUpdateRotation(entity);
}
void drawCaporale(Game * game, Entity * entity) {
entityDraw(entity);
}
|