blob: 017f213cf04f703ef6c1495043ac2496757397b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "generale.h"
#include "assets.h"
#include "game.h"
void initGenerale(Entity * entity, Game * game) {
entity->model = &game->assets.models[GENERALE_ASSET];
setEntityRadius(entity);
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);
}
|