Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

OklyDokly

What features do you think every maths library should have?

This topic is 5317 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

... Because I''m developing one at the moment. I am already putting in fully featured functions for matrices, vectors and quaternions, but I''m just wondering what else do people think would be needed in a general purpose games maths library.

Share this post


Link to post
Share on other sites
Advertisement
Some things that might be appreciated:
*a macro #carmacks_sqrt(n)
*n-space vectors (instead of 4-space)
*a good rational class (preserve precision) and supports rational exponents (and evaluates the exponents at the last second)
umm.. all I can think of right now. I haven''t done the physics engine thing... so I can''t really answer from that perspective. All my games have dealt exclusively with abstracted coordinates and such things. (And a few math games)

Scout



All polynomials are funny - some to a higher degree.
Furthermore, polynomials of degree zero are constantly funny.

Share this post


Link to post
Share on other sites
intergration/deintergration

mathML parser (you''d have to redisign the compiler around this but it''d be soo cool)

n-dimension equations solver (vectors, quintorions, eulers, ect.)

and for the the love of god a multidimensional matrix solver

Share this post


Link to post
Share on other sites
If you get really bored, you could put some higher-level physics things into it.


"Gay marriage will encourage people to be gay, in the same way that hanging around tall people will make you tall." - Grizwald

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!