Skip to content
Snippets Groups Projects
Select Git revision
  • 86cef5125a2ccd5920153d503dc046fee0b4fed7
  • main default protected
  • add_export_route
  • add_route_assignments
  • add_route_user
  • 4.1.0-dev
  • Pre-alpha
  • 4.0.1
  • Latest
  • 4.0.0
  • 3.5.0
  • 3.4.2
  • 3.4.1
  • 3.3.0
  • 3.2.3
  • 3.2.2
  • 3.2.0
  • 3.1.2
  • 3.1.1
  • 3.1.0
  • 3.0.1
  • 3.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.0
25 results

User.ts

Blame
  • Forked from Dojo Project (HES-SO) / Projects / UI / DojoCLI
    Source project has a limited visibility.
    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