[MonoTouch] OpenTK math functions in different namespace

Christian Beaumont chris at foundation42.org
Sat Aug 8 06:19:57 EDT 2009


It seems to me they are trying to make it more like XNA or something.
Also the fact that the OpenGL constants are in the All enum now where they
were in separate enums when I was using OpenTK on Windows.

-chris

On Fri, Aug 7, 2009 at 6:22 PM, Frank Krueger <fak at kruegersystems.com>wrote:

> Change for change's sake, I see. ;-)
> I guess I'll just have to start pulling from the repository. Thank you very
> much for the info.
>
>
>
> On Fri, Aug 7, 2009 at 9:18 PM, Jonathan Pryor <jonpryor at vt.edu> wrote:
>
>> On Fri, 2009-08-07 at 18:15 -0400, Frank Krueger wrote:
>> > As I'm trying to share code between MonoTouch and Windows, I ran into
>> > a descrepency wrt OpenTK and the Math classes.
>>
>> > In MonoTouch, Vector2 is in the namespace OpenTK.
>> > On Windows, Vector2 is in OpenTK.Math.
>> ...
>>
>> > Is there any rational behind this?
>>
>> Yes.  The rationale is that we're tracking OpenTK trunk, and OpenTK has
>> changed the namespace from OpenTK.Math to OpenTK.
>>
>>
>> (Why?  I have no idea.  It was done in r1899 by the_fiddler with comment
>> "Removed OpenTK.Math namespace. Math functions now go directly into the
>> OpenTK namespace.")
>>
>> See:
>>
>> https://opentk.svn.sourceforge.net/svnroot/opentk/trunk/Source/OpenTK/Math/Vector2.cs
>>
>> Any complaints about this should be taken up with them. :-)
>>
>>  - Jon
>>
>>
>>
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/mailman/private/monotouch/attachments/20090808/58187aad/attachment-0001.html 


More information about the MonoTouch mailing list