Techneck/code/source-c/location.c

17 lines
335 B
C

#include "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;
}