Advertisement

math routines

Started by May 27, 2024 08:33 PM
1 comment, last by WitchLord 5 months, 4 weeks ago

I was writing up some documentation for my app and was reading the docs for the math addon here: https://www.angelcode.com/angelscript/sdk/docs/manual/doc_addon_math.html.

I realized that the exponentiation function exp() is not included. I dug up the references for the C math.h and I see that there are quite a few things that are not included.

Perhaps some of these omissions are intentional, but I would think that exp() would be pretty mainstream.

Would a patch expanding the math addon to support everything in C's math.h be accepted? Is there a reason to stop short of that?

I never intended for the included math add-on to be complete. I just created it to show the path for application developers to expand it however they want.

It would be great if someone where to provide a more complete binding library for maths as a third party library. Similar to Sami Vuorela's Template Add-on library,

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement