Select Git revision
Forked from
orestis.malaspin / math_tech_info
Source project has a limited visibility.
PlanetarySystem.h 531 B
#ifndef PLANETARY_SYSTEM_H
#define PLANETARY_SYSTEM_H
#include <stdint.h>
#include "CelestialObject.h"
#include "gfx/gfx.h"
const uint32_t SCREEN_WIDTH;
const uint32_t SCREEN_HEIGHT;
typedef struct {
uint32_t objects_length;
CelestialObject **objects;
double interval;
} PlanetarySystem;
PlanetarySystem *planetary_system_create(double interval);
void planetary_system_update(PlanetarySystem *planetary_system);
void planetary_system_draw(PlanetarySystem *planetary_system, struct gfx_context_t *context);
#endif