This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Official Chocolatey install command | |
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) | |
# Install everything else using chocolatey | |
choco install make -y | |
choco install mingw -y | |
choco install git -y | |
choco install llvm -y | |
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System' -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Collider { | |
constructor() { | |
this.base = [{x: -0.15, y: -0.15}, {x: 0.0, y: 0.15}, {x: 0.15, y: -0.15}]; | |
this.col = [{x: -0.15, y: -0.15}, {x: 0.0, y: 0.15}, {x: 0.15, y: -0.15}]; | |
this.pos = {x: 0.0, y: 0.0}; | |
this.inter = false; | |
} | |
update() { |