Skip to content

Commit

Permalink
Update v4 explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderMertens committed Jun 19, 2024
1 parent 1bd6f0f commit 7b60f83
Show file tree
Hide file tree
Showing 1,420 changed files with 5,883 additions and 27,675 deletions.
1 change: 1 addition & 0 deletions etc/flecs.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const flecs = {
// Create a new connection to a Flecs application
connect(params) {
let conn = this._.createConnection(params);
console.log("CONNECT v3");
conn.connect(params.host);
return conn;
},
Expand Down
2 changes: 0 additions & 2 deletions etc/js/entity_tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,6 @@ Vue.component('entity-tree', {
path = elem.parent + "." + name_esc
}

console.log(path);

let label;
let color;
if (elem.entity_labels) {
Expand Down
28 changes: 14 additions & 14 deletions etc/v4/assets/main.flecs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ using flecs.meta
using flecs.units.Mass

@brief Mass component
Struct Mass {
value :- {f64, unit: KiloGrams}
struct Mass {
value = f64, unit: KiloGrams
}

// Tags that inherit from CelestialBody
Expand All @@ -15,42 +15,42 @@ Satellite : CelestialBody

@color #ffffdd
Star Sun {
- Mass{1.9885e30}
Mass: {1.9885e30}

@color #8c8c94
Planet Mercury :- Mass{0.33e24}
Planet Mercury { Mass: {0.33e24} }

@color #e39e1c
Planet Venus :- Mass{4.87e24}
Planet Venus { Mass: {4.87e24} }

@color #6b93d6
Planet Earth {
- Mass{5.9722e24}
Mass: {5.9722e24}

@color #dcdcdc
Satellite Moon :- Mass{7.34767309e22}
Satellite Moon { Mass: {7.34767309e22} }
}

@color #c1440e
Planet Mars {
- Mass{0.642e24}
Mass: {0.642e24}

@color #8B4513
Satellite Phobos :- Mass{1.0659e16}
Satellite Phobos { Mass: {1.0659e16} }

@color #A38C8C
Satellite Deimos :- Mass{1.4762e15}
Satellite Deimos { Mass: {1.4762e15} }
}

@color #e3dccb
Planet Jupiter :- Mass{1898e24}
Planet Jupiter { Mass: {1898e24} }

@color #e3e0c0
Planet Saturn :- Mass{568e24}
Planet Saturn { Mass: {568e24} }

@color #3d5ef9
Planet Neptune :- Mass{102e24}
Planet Neptune { Mass: {102e24} }

@color #93cdf1
Planet Uranus :- Mass{86.8e24}
Planet Uranus { Mass: {86.8e24} }
}
77 changes: 0 additions & 77 deletions etc/v4/console/console.css

This file was deleted.

197 changes: 0 additions & 197 deletions etc/v4/console/console.js

This file was deleted.

Loading

0 comments on commit 7b60f83

Please sign in to comment.