You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the situation of using gl.UniformMatrix4v with a f32.Mat4 instance. However, the function takes a []float32 slice as argument. I see an inconsistency in that but perhaps I'm missing something. I wonder if gl.UniformMatrix4v could take a f32.Mat4 as argument or if an f32.Mat4 instance can conveniently be converted in a []float32 slice. Thanks.
$ go version
go version devel +2fa657c Fri Dec 12 07:09:39 2014 +0000 linux/amd64
The text was updated successfully, but these errors were encountered:
mikioh
changed the title
mobile/gl: should UniformMatrix4fv take f32.Mat4 as argument?
x/mobile/gl: should UniformMatrix4fv take f32.Mat4 as argument?
Aug 5, 2015
I'm in the situation of using gl.UniformMatrix4v with a f32.Mat4 instance. However, the function takes a []float32 slice as argument. I see an inconsistency in that but perhaps I'm missing something. I wonder if gl.UniformMatrix4v could take a f32.Mat4 as argument or if an f32.Mat4 instance can conveniently be converted in a []float32 slice. Thanks.
The text was updated successfully, but these errors were encountered: