in

.NET Opensource

Community for opensource projects by Christoph Rüegg

Vector and Matrix adapters or extended interfaces

Last post 04-08-2009 12:12 by mojaq. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-19-2009 12:35

    • mojaq
    • Top 75 Contributor
    • Joined on 02-18-2009
    • Posts 2

    Vector and Matrix adapters or extended interfaces

    hello!

    i'm developing a game engine with several graphics and physics engines where each uses its own Vector and Matrix classes, so i was looking for a way to use them interchangeable. that's where Math.Net would come in. i want to release my game engine bundled with Math.Net and write adapter classes for each engine with Math.Net's IVector and IMatrix interfaces. unfortunately these interfaces define no methods, so i need to define a new but more extended interface again which pushes it into absurdity.

    therefore i'm requesting if you could extend the IVector and IMatrix interface with all methods you already use in the Vector and Matrix implementations!

     

  • 03-13-2009 15:53 In reply to

    Re: Vector and Matrix adapters or extended interfaces

    Hi,

    Sounds interesting. I did keep those interfaces very simple on purpose. However, I might indeed rethink them - after all I plan to fixing/refactor the (in my opinion) broken Matrix class design in the next few releases anyway.

  • 04-08-2009 12:12 In reply to

    • mojaq
    • Top 75 Contributor
    • Joined on 02-18-2009
    • Posts 2

    Re: Vector and Matrix adapters or extended interfaces

    i'm really looking forward to because then i can kick out our own simple vector implementations. thanks in advance!

Page 1 of 1 (3 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems