Interprited_C/python-c-compialer/std.h

18 lines
245 B
C
Raw Permalink Normal View History

2025-03-31 01:03:51 +00:00
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;
}