1vanK

Results 154 comments of 1vanK

@eugeneko I think eye direction (cCameraPosPS - vWorldPos.xyz) must be the same for any point on the screen with the orthographic camera. ``` float spec = GetSpecular(normal, cCameraPosPS - vWorldPos.xyz,...

https://github.com/KhronosGroup/Vulkan-Hpp

C# uses int for sizes https://docs.microsoft.com/en-us/dotnet/api/system.array.length?view=net-6.0

Bjarne Stroustrup recommeds use signed types for sizes: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1428r0.pdf

Emscripten not supports 64 bit yet: * https://github.com/emscripten-core/emscripten/issues/12087 * https://webassembly.org/roadmap/

After research, it was found that large files are supported on 32-bit systems also

Last tested version: Broken: ``` commit bae8f680ee58616dc38aa3042be5e8805badbf0b Date: Wed Nov 25 23:58:16 2020 +0300 Fix twice applied gravity ``` Worked version not found

@SirNate0 as active Emscripten user can you finding the bug and when it arose? I cannot compile old versions of the engine with Emscripten on my Windows