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

17 lines
343 B
C

#include <utility/location.h>
#include <stdlib.h>
tc_location_s tc_zero_location()
{
tc_location_s location;
location.world = NULL;
location.position.x = 0.0f;
location.position.y = 0.0f;
location.position.z = 0.0f;
location.rotation = location.position;
return location;
}