Skip to content

Commit

Permalink
clean up thrust manager to use vector math methods. gravity dampening…
Browse files Browse the repository at this point in the history
… is complete!
  • Loading branch information
Penguin-Spy committed Jan 21, 2024
1 parent 931f299 commit 209a18e
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 193 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/vercel-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ env:
on:
push:
tags:
- "alpha-*"
- "*"

jobs:
Deploy-Production:
Expand Down
6 changes: 3 additions & 3 deletions client/Debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ class Debug {

const tm = this.#controllerManager.activeController?.thrustManager
if(tm) {
this.#thrustOutputDebug[0].innerText = formatNumber("x", tm._logicalAcceleration.x)
this.#thrustOutputDebug[1].innerText = formatNumber("y", tm._logicalAcceleration.y)
this.#thrustOutputDebug[2].innerText = formatNumber("z", tm._logicalAcceleration.z)
this.#thrustOutputDebug[0].innerText = formatNumber("x", tm.outputThrust.x)
this.#thrustOutputDebug[1].innerText = formatNumber("y", tm.outputThrust.y)
this.#thrustOutputDebug[2].innerText = formatNumber("z", tm.outputThrust.z)
}
}

Expand Down
2 changes: 1 addition & 1 deletion client/screens/main_menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default {
}
},

{ $: 'span', content: "alpha-8_1", class: 'version' },
{ $: 'span', content: "alpha-9_1", class: 'version' },
{
$: 'a', content: "view source", class: 'source',
href: "https://github.com/Penguin-Spy/Voxilon", target: '_blank'
Expand Down
Loading

0 comments on commit 209a18e

Please sign in to comment.