blob: a1cda5d1db185a6ed97a9fdd375628ea65c8b8ae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "pond.h"
void initPond(Entity* entity)
{
entity->box = (BoundingBox){
.min = (Vector3){-POND_SIZE, -POND_HEIGHT, -POND_SIZE},
.max = (Vector3){POND_SIZE, POND_HEIGHT, POND_SIZE}
};
}
void updatePond(Entity* entity, Game* game)
{
DrawPlane(Vector3Add(entity->position, (Vector3){0.0, POND_HEIGHT, 0.0}),
(Vector2){POND_SIZE * 2.5, POND_SIZE * 2.5}, BLUE);
}
|