diff options
Diffstat (limited to 'src/entity.c')
-rw-r--r-- | src/entity.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/entity.c b/src/entity.c index ac3606b..0fe6366 100644 --- a/src/entity.c +++ b/src/entity.c @@ -8,6 +8,10 @@ Entity createEntity(EntityId id, Vector3 position) entity.id = id; entity.position = position; + // Test boundingbox. + entity.box.min = Vector3SubtractValue(position, 1.0); + entity.box.max = Vector3AddValue(position, 1.0); + return entity; } |