Select Git revision
CelestialObject.h
CelestialObject.h 358 B
#ifndef CELESTIAL_OBJECT_H
#define CELESTIAL_OBJECT_H
#include "Vector2.h"
#include "gfx/gfx.h"
typedef struct CelestialObject CelestialObject;
typedef struct CelestialObject {
double mass;
Vector2 previous_position;
Vector2 current_position;
} CelestialObject;
CelestialObject *celestial_object_create(double mass, Vector2 position);
#endif