mathgl icon indicating copy to clipboard operation
mathgl copied to clipboard

A pure Go 3D math library.

Results 10 mathgl issues
Sort by recently updated
recently updated
newest added

It would make sense for this library to support both OpenGL and Vulkan coordinate systems. One difference that comes to mind is that screen coordinates in Vulkan range from 0...

add a function to convert quaternion to Euler angles.

I'm first going to ask you guys to confirm this before marking this as a bug. But shouldn't this `FloatEqualThreshold(8.742278e-08, 0, 1e-4)` return true ? (because it doesn't)

enhancement

This is a miscellaneous issue to adding SIMD. I've been doing a **lot** of work, and what's become clear is that adding SIMD is something that requires a lot of...

After writing some benchmarks today (not for this package, just dicking around with benchmarking fast inverse square root compared to Go's stdlib and such), it's become clear that the rampant...

I'm trying to get `github.com/go-gl/mathgl/mgl32` and getting the following error: ``` $ go get github.com/go-gl/mathgl/mgl32 # github.com/go-gl/mathgl/mgl32 src/github.com/go-gl/mathgl/mgl32/mempool.go:12: undefined: sync.Pool src/github.com/go-gl/mathgl/mgl32/mempool.go:29: undefined: sync.Pool src/github.com/go-gl/mathgl/mgl32/mempool.go:41: undefined: sync.Pool ``` Here is my...

As mentioned here: https://github.com/go-gl/mathgl/pull/22 The core packages are getting a little big. I think it's worth discussing: 1. Where do new features go? 2. Should anything be separated out for...

I took out the random data from one benchmark function and the speed drastically improved (~40 ns/op faster), despite the random data being behind StopTimer calls. I put in the...

I have use for a method which takes a vector and returns a new vector where every element is the product of the respective elements of the vector and the...