Results 1 to 4 of 4
  1. #1
    IIIExabyteIII is offline Member
    Join Date
    Apr 2012
    Posts
    1
    Rep Power
    0

    Default Looking for a vector and metrix class

    Hello everybody,

    I started programming about half a year ago, so I'm still pretty inexperienced. I'm currently working on a 3D Application for a school project, but I still need a vector class and a matrix class as I will need affine transformations (not sure if this is the correct word). Does anybody know where I can find source code for those?

    Many thanks

    edit: I forgot to mention that it'd be nice if the two classes were compatible with each other
    Last edited by IIIExabyteIII; 04-25-2012 at 07:13 PM.

  2. #2
    jlczuk is offline Senior Member
    Join Date
    Apr 2012
    Location
    New York State of Confusion, USA
    Posts
    137
    Blog Entries
    1
    Rep Power
    0

    Default Re: Looking for a vector and metrix class

    Well, you could check out the Java Vector Class and there is JAMA, a Java Matrix Package although I have never used that. Why invent the wheel if you can get one from the junkyard and reuse it?

  3. #3
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,526
    Blog Entries
    7
    Rep Power
    20

    Default Re: Looking for a vector and metrix class

    Allthough it can be fun to implement your own Vector and Matrix classes and make them work together exactly how you want them to ...

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  4. #4
    jlczuk is offline Senior Member
    Join Date
    Apr 2012
    Location
    New York State of Confusion, USA
    Posts
    137
    Blog Entries
    1
    Rep Power
    0

    Default Re: Looking for a vector and metrix class

    No argument there, but since he wanted the source code, I figured there wasn't going to be much in the way of implementing his own.

Similar Threads

  1. Vector results need to be available to another class
    By Paul_White in forum New To Java
    Replies: 6
    Last Post: 05-07-2011, 07:45 PM
  2. Vector<vector> loop thru
    By ocean in forum New To Java
    Replies: 11
    Last Post: 11-21-2009, 02:17 PM
  3. Replies: 1
    Last Post: 04-06-2009, 06:45 AM
  4. vector - get
    By natdizzle in forum New To Java
    Replies: 2
    Last Post: 01-02-2009, 04:09 AM
  5. help with protected method in vector class
    By katie in forum Advanced Java
    Replies: 1
    Last Post: 08-06-2007, 10:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •