Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
isc_physics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
arian.dervisha
isc_physics
Compare revisions
9fe9b66c3868690ca87fb85f99d9a5d53e21eca5 to 8edde3a1ca0d5c24456563d20b2035503a4556c3
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
arian.dervisha/isc_physics
Select target project
No results found
8edde3a1ca0d5c24456563d20b2035503a4556c3
Select Git revision
Branches
1-test-vec-to-coordinates
master
patch-1
Swap
Target
orestis.malaspin/isc_physics
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
9fe9b66c3868690ca87fb85f99d9a5d53e21eca5
Select Git revision
Branches
1-test-vec-to-coordinates
master
patch-1
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
"create_planet" devient "create_celestial_object"
· e26ad57b
Arian Ubuntu
authored
1 year ago
e26ad57b
Renommer les fichiers "planet" en "celestial_body"
· 8edde3a1
Arian Ubuntu
authored
1 year ago
8edde3a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
practical_work/planets/skeleton/planet/celestial_body.c
+1
-1
1 addition, 1 deletion
practical_work/planets/skeleton/planet/celestial_body.c
practical_work/planets/skeleton/planet/celestial_body.h
+3
-3
3 additions, 3 deletions
practical_work/planets/skeleton/planet/celestial_body.h
with
4 additions
and
4 deletions
practical_work/planets/skeleton/planet/
planet
.c
→
practical_work/planets/skeleton/planet/
celestial_body
.c
View file @
8edde3a1
#include
"
planet
.h"
#include
"
celestial_body
.h"
#include
<stdlib.h>
#define G 6.67e-11
...
...
This diff is collapsed.
Click to expand it.
practical_work/planets/skeleton/planet/
planet
.h
→
practical_work/planets/skeleton/planet/
celestial_body
.h
View file @
8edde3a1
#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
);
...
...
This diff is collapsed.
Click to expand it.