Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • jessica.estevesm/isc_physics
  • michael.elkharro/isc_physics
  • philippe.montando/isc_physics
  • william.rodrigue/isc_physics
  • orestis.malaspin/isc_physics
  • lucas.landrecy/isc_physics
  • jean.vouillam/isc_physics
  • alexandr.benzonan/isc_physics
  • farouq.obaly/isc_physics
  • richarda.tyarks/isc_physics
  • sasha.crockett/isc_physics
  • jeremy.meissner/isc_physics
  • tom.andrivet/isc_physics
  • elio.marconi/isc_physics
  • iliya.saroukha/isc_physics
  • arian.dervisha/isc_physics
16 results
Show changes
Commits on Source (2)
#include "planet.h"
#include "celestial_body.h"
#include <stdlib.h>
#define G 6.67e-11
......
#ifndef _PLANET_H_
#define _PLANET_H_
#ifndef _CELESTIAL_BODY_H_
#define _CELESTIAL_BODY_H_
#include "../vec2/vec2.h"
#include "../gfx/gfx.h"
......@@ -20,7 +20,7 @@ typedef struct _system
// Those function are not mandatory to implement,
// it's rather a hint of what you should have.
celestial_body_t create_planet(double mass, vec2 pos);
celestial_body_t create_celestial_body(double mass, vec2 pos);
system_t create_system(double delta_t);
void show_system(struct gfx_context_t *ctxt, system_t *system);
void update_system(system_t *system, double delta_t);
......