From f4c1376da42271e2a7887aec0c3ec808c567e166 Mon Sep 17 00:00:00 2001 From: Leela Manishwar Goriparthi <105509376+ManishwarG@users.noreply.github.com> Date: Wed, 7 Dec 2022 19:45:57 +0100 Subject: [PATCH] Window settings --- .vs/slnx.sqlite | Bin 90112 -> 90112 bytes Simulation.py | 7 ++----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite index 4a98ee4ab51cd72cc352fb098415181bea4b7ba8..cb7280fde101292085b42b467fa6cd55c69fac08 100644 GIT binary patch delta 353 zcmZoTz}j$tb%Hdbz(g5mMuCk9A^MCeo44w_HLx~YE!(+j(}vG-j4G4AoYQ4go~(3U zSyG9Mfm2kJk%N(uF{LQ69E3TU?K#C1C&!%^XH=Mc_PmU|3a6wzP?@A8CrDX9PGVka z34~;pW0#Vfyz#s=qbyLRJfqCyx925ACNuEA=0Cx|oPQhte*UZcKlmT;Pu{GkP{}`e z%6;K_6+UJ~#>A46qQvBq%=|oM4rWoX)k+{nPJUvFA`i1HV|;vOUS>&ryaE@qB-BcI z5VN!(C9xz`4q1sTJF_rjaCW5(7Xt$WC;ur1{$KoG_}}rr;D5w_hyNP?1)vZDY?f(Q l%5TQX%*e>B0w$Hgq!O4^1d|G2QXWjofk{~~DYNK90RU#US;hbW delta 352 zcmYk#KTE@45C-sEFK?1Jh&QxRV*gonl}^qMqO+j0F_;d)(v}htT?~GL%G*yM2#(eu zu31Gixag!JPJ%^29mK`v)u9LX*PT{C@g^9TVJgLkIt$~A=~dSKIBeM zK1#sF=k+WYVk()obyMM%1qJ|kZFf6ej`Ms>6KlyhFmaU>$}`+n2Q}N~X>GagHfq72 zSkfm@^pZSe2F)^n=qGlrtI#W5&@r7;Ot=bg?{LZ-spv% l>7MTBW^fvss2Cp6976!)QbVdsH7S#-Qj}&?1dfOAtzRNQR=@xN diff --git a/Simulation.py b/Simulation.py index aff962a..f613780 100644 --- a/Simulation.py +++ b/Simulation.py @@ -15,7 +15,7 @@ def __init__(self): app = Ursina() -window.title = 'My Game' # The window title +window.title = 'Planet Simulation' # The window title def update(): @@ -24,7 +24,7 @@ def update(): planet_.x,planet_.y = planet.update_position(planets) points = planet.draw() if points is not None and len(points)>2: - curve_renderer = Entity(model=Mesh(vertices=points, mode='line')) + orbits = Entity(model=Mesh(vertices=points, mode='line')) # Our Planet class -- for making planets. class Planet(): @@ -133,8 +133,5 @@ def update_position(self, planets): planets_ = [sun_, mercury_, venus_, earth_, mars_] EditorCamera() -camera.clip_plane_far = 200000 - - app.run()