Closed egonelbre closed 11 months ago
I've rebased this for you. I agree with the changes. Question: does this have any compatilbility implications?
@pwaller I'm not aware that it would. The only scenario would be that someone poking at things via reflect, which seems very unlikely. So, yeah, 99.9% sure it's safe.
If we were using type aliases (e.g. type Vec3 = f32.Vec3
) then this change would've been a bigger deal. Since we're not, I agree it's reasonable to change its underlying type as done here without much real-world trouble.
This uses https://github.com/go-gl/mathgl/pull/95 as the base. So merge the other one before this.
There doesn't seem to be any real benfit from depending on golang.org/x/image, so drop it.