where could i find out about them or could you tell me what they mean
Offline
You can right click any block to find out more about it. I'll post some basic definitions of many of the math blocks here, though:
Sqrt is the square root of something. For example, the square root of 9 is 3.
Mod is the remainder of something. For example, 8 mod 5 is 3, because 8 divided by 5 is 1, but you have 3 left over.
Abs gives the absolute value of something, meaning it gives a positive value if it's negative. For example, the absolute value of -1.4 is 1.4
Sin, Cos, Tan, Asin, Acos, Atan are all trigonometry blocks, which are Sine, Cosine, Tangent, Arcsine, Arccosine, and Arctangent respectively. I'm not sure how to use them, and you probably don't either. They are used rarely, but Archmage has a great explanation of how to use them here.
I don't quite understand any of the following, but I've managed to scrape up some answers:
ln = natural logarithm (Euler's constant as a base)
log = base 10 logarithm
And according to Paddle2See:
E^ = The e^ raises Euler's constant (pronounced "Oilers") ,which is approximately 2.718, to whatever power you give it. It is the inverse of the natural log function (ln).
...
You would use 10^ to raise 10 to the power of whatever number you give it. It is the inverse of the base 10 logarithm function (log).
...
When would you use these functions? If you were doing certain heat transfer equations...or electronics and a number of other areas. Not something you typically need for game programming but handy for engineering.
(I got a lot of that from this thread.)
Last edited by coolstuff (2010-05-14 19:18:17)
Offline