[racket] SGL Bindings

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Tue Jun 18 06:47:50 EDT 2013

I don't know about unproject, but I'd recommend using the opengl package.
While it doesn't have Rackety wrappers, it is more complete and use raw
cvectors on most interfaces so it can be more obvious how to use the calls
if you know C.

On Monday, June 17, 2013, Sean Kanaley wrote:

> Hello all,
>
> I'm attempting to do some 3d targeting by screen position, and it would be
> convenient to use unproject, however I can't figure out the parameters.
>  The OpenGL specs require various matrices to be passed in, and Racket
> wants them of type gl-double-vector, which seems to be a type synonym for
> cvector, but then when I get the matrices of that type with glGetFloatv and
> pass it to unproject it complains it got a cvector instead of a
> double-vector...
>
> Does anybody know how to use unproject?
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/**users <http://lists.racket-lang.org/users>
>


-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

"The glory of God is Intelligence" - D&C 93
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130618/1b2688c4/attachment.html>

Posted on the users mailing list.