File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11$scriptPath = $PSScriptRoot
2- $emsdkVer = " 3.1.44 "
3- $emsdkPath = Join-Path - Path $PSScriptRoot - ChildPath " emsdk"
2+ $emsdkVer = " 3.1.52 "
3+ $emsdkPath = Join-Path - Path $PSScriptRoot - ChildPath " emsdk" | Join-Path - ChildPath $emsdkVer
44
55if (Test-Path - Path $emsdkPath - PathType Container) {
66 Write-Host " Found existing emsdk"
7- . / emsdk / emsdk_env.ps1
7+ & " $emsdkPath \ emsdk_env.ps1"
88} else {
99 Write-Host " Building emsdk"
1010 git clone -- branch $emsdkVer " https://github.com/emscripten-core/emsdk.git" $emsdkPath
11- . / emsdk/ emsdk .ps1 install $emsdkVer
12- . / emsdk/ emsdk .ps1 activate $emsdkVer
11+ & " $emsdkPath \ emsdk.ps1" install $emsdkVer
12+ & " $emsdkPath \ emsdk.ps1" activate $emsdkVer
1313}
1414
1515emcc -- version
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ class FastNoiseLitePreviewApp : public ImGui_Application
243243 fnlWarp.SetFractalLacunarity (fnlDomainWarpFractalLacunarity);
244244 texUpdate = true ;
245245 }
246- if (ImGui::DragFloat (" Gain" , &fnlFractalGain , 0 .01f ))
246+ if (ImGui::DragFloat (" Gain" , &fnlDomainWarpFractalGain , 0 .01f ))
247247 {
248248 fnlWarp.SetFractalGain (fnlDomainWarpFractalGain);
249249 texUpdate = true ;
You can’t perform that action at this time.
0 commit comments