Thank you!!! Shlomi I have just merged. (My first merge by the way)
This far exceed what I could expect from a forum post. Thank you very much, you have just made my evening, as I have spent two full evenings with no success, and after your hint you basically solved my problem. I need to learn some of the more advanced javascript, but I feel I can continue from here. Thank you again. :) Jesper onsdag den 15. september 2021 kl. 12.05.01 UTC+2 skrev Shlomi Fish: > On Wed, 15 Sep 2021 12:41:24 +0300 > Shlomi Fish <[email protected]> wrote: > > > Hi Jesper, > > > > On Wed, 15 Sep 2021 00:40:01 -0700 (PDT) > > Jesper Taxbøl <[email protected]> wrote: > > > > > Hi, > > > > > > I am very new to emscriptem and I have been struggeling with porting a > > > function from c++ to javascript. > > > > > > I have created a public repo with my sample function, and I aim to > > > implement feedback into it. > > > > > > https://github.com/taxfromdk/wasm-glm-nlohmann > > > > > > My overall mission is that I have some vector mathematics, that I > would > > > like to implement once and use on c++ and javascript platforms. I am > using > > > GLM as the vector-math-backbone, and I am under the impression that > json is > > > a good compromise for the languages involved. I have therefore chosen > > > nlohmann's json library. > > > > > > > I prepared a fixed version here: > > > > > https://github.com/taxfromdk/wasm-glm-nlohmann/compare/master...shlomif:shlomif1?expand=1 > > > > hope that helps. > > > > Some additional notes: > > 1. The active file is compute-tweaked.html. > > 2. Your source files had some trailing whitespaces and mixed "\t"-and-space > indentation: > > > https://github.com/shlomif/Freenode-programming-channel-FAQ/blob/master/FAQ_with_ToC__generated.md#what-are-some-best-practices-in-programming-that-i-should-adopt > > -- Shlomi > > -- > > Shlomi Fish https://www.shlomifish.org/ > Perl Humour - https://perl-begin.org/humour/ > > ANSI C - There is usually one way to do it, but there’s more than one way > to > optimise it. > — https://www.shlomifish.org/humour/ways_to_do_it.html > > Please reply to list if it's a mailing list post - https://shlom.in/reply > . > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/a422e308-cee8-4b22-9139-738688bcef9bn%40googlegroups.com.
