Git Product home page Git Product logo

Comments (9)

dmitshur avatar dmitshur commented on May 3, 2024

👍 to the idea.

If possible, I'd like to see github.com/go-gl/mathgl/mgl32 used too. Are there valid reasons why it isn't?

from gxui.

ben-clayton avatar ben-clayton commented on May 3, 2024

@crawshaw is there any reason why the methods couldn't be absorbed into https://godoc.org/golang.org/x/image/math/f32? It's not going to break compatibility.

from gxui.

ben-clayton avatar ben-clayton commented on May 3, 2024

argh, wrong button

from gxui.

ben-clayton avatar ben-clayton commented on May 3, 2024

But then again, it's a bit weird to have that sort of math in an image library.

from gxui.

crawshaw avatar crawshaw commented on May 3, 2024

Methods can be added to image/math if we can reach consensus on what they should be. We had a lot of trouble with it in early discussions. We could find common ground on types, so we started there.

from gxui.

ben-clayton avatar ben-clayton commented on May 3, 2024

If the methods cannot be brought across, I don't really see the gain in switching to the f32 package - does it not contain just 7 typedefs? Do you see common functionality between GXUI and f32?

from gxui.

crawshaw avatar crawshaw commented on May 3, 2024

Let's punt on this issue for a bit, I believe it will be useful but would like to demonstrate it with code.

It is also worth looking at https://godoc.org/github.com/go-gl/mathgl/mgl32 as@shurcooL mentioned, it has a lot of relevant machinery in it.

from gxui.

ben-clayton avatar ben-clayton commented on May 3, 2024

Yup mgl32 looks like a pretty good replacement. It doesn't have my fantastic unicode art though. :)

from gxui.

dmitshur avatar dmitshur commented on May 3, 2024

Yup mgl32 looks like a pretty good replacement. It doesn't have my fantastic unicode art though. :)

Please feel free to make a PR, improvements to it are always welcome.

from gxui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.