view
Tweet
hifi: #21869 Add javascript implementations of Vec3, Quat

Will serve two purposes: 1) reimplement the existing Vec3 / Quat APIs in pure JS (ie. glm::vec3 and glm::quat), 2) make Vec3 and Quat fully instantiable objects with instance methods, etc (ie. finally let users write var v = new Vec3(1, 2, 3); console.log(v.add({ x: 10, z: 12 }).normalized()).

For an example (in conjunction with https://worklist.net/21868) see:
https://gist.github.com/SeijiEmery/2a01a04a7d21e3408f17eb20be539d0e
https://gist.github.com/SeijiEmery/dffd96cbb73b611c8065513bc92d6555

Scripts will be importable via Script.require(), and available at:
scripts/system/common/vec3.js
scripts/system/common/quat.js

Comments & Activity

  • 10 mnths, 16 days ago

    #21869 created by SeijiEmery Status set to Suggestion.

  • 10 mnths, 16 days ago

    #21869 updated by SeijiEmery Changes: Notes changed.

  • 10 mnths, 6 days ago

    A bid was placed on #21869

  • 10 mnths, 6 days ago

    Bid updated on #21869

  • 10 mnths, 6 days ago

    Bid updated on #21869

  • 10 mnths, 6 days ago

    Bid updated on #21869

  • 10 mnths, 6 days ago

    Bid updated on #21869

  • 10 mnths, 1 day ago

    Bid updated on #21869

  • 10 mnths, 1 day ago

    MiladNazeri accepted 500.00 from SeijiEmery on #21869 Status set to In Progress.

  • 10 mnths, 1 day ago

    MiladNazeri deleted a fee from SeijiEmery on #21869

  • Hi @SeijiEmery, is this something you are working on still?
Labels Saved!

Bids

Login to bid
Who Amount Done in ...
*name hidden*$ ***4 days