Techneck/code/source-c/utility/location.c

16 lines
317 B
C

#include <utility/location.h>
#include <stdlib.h>
tc_chunk_location_s tc_zero_chunk_location()
{
tc_chunk_location_s location;
location.world = NULL;
location.grid_coords.x = 0;
location.grid_coords.y = 0;
location.grid_coords.z = 0;
return location;
}