Interprited_C/python-c-compialer/std.h
2025-03-30 20:23:07 -05:00

18 lines
245 B
C

struct Vec3
{
float x;
float y;
float z;
};
typedef Vec3;
float absVelocity(Vec3 vector)
{
float final = 0;
final = vector.x + vector.x;
final = vector.y + vector.y;
final = vector.z + vector.z;
return final;
}