On Saturday, January 3, 2015 1:36:14 PM UTC-6, Bryan Turley wrote:
On Saturday, January 3, 2015 12:22:39 PM UTC-6, Thomas Bruyelle wrote:

What is the projection matrix used in the mobile/sprite package ? It
seems defined in glutil.glimage but I don't get it.

I just want a classic orthogonal projection bound to geom.Width and
geom.Height, but it seems it's not the one used in mobile/sprite.
Which matrix in glutil?

They should definitely make something like
for orthographic projections.
I would recommend the same definition as the now deprecated glOrtho()
(matrix stacks and their funcs are not in gles2.0+ or gl core)
Well I would replace the float64 with float32 but you get the idea...
I would also use Mat4 over Mat3 since Mat4 is likely what the hardware
will load the Mat3 into.

Also you should note
"This is early work..." and
"APIs are currently very limited, but under active development."
from README.md

I think people are still getting realigned from the holidays and the go to
github move.
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 5 | next ›
Discussion Overview
groupgolang-nuts @
postedJan 3, '15 at 6:22p
activeJan 4, '15 at 10:26p

2 users in discussion

Thomas Bruyelle: 3 posts Bryan Turley: 2 posts



site design / logo © 2021 Grokbase