maxCosTheta, correct. The returned values should be within the 0;1 range.
pow(x, 8 ) raises x to the power of 8. It's documented into the technical reference ! As Ono told, in the special case that you want to raise a number to the power of 2 it is more efficient to note x*x as "pow() is quite slow".
PS: nice site, this applet will come in handy.
Basic ISL questions
Re: Basic ISL questions
obsolete asset
- Borgleader
- Posts: 2149
- Joined: Mon Jun 16, 2008 10:48 am
Who is online
Users browsing this forum: No registered users and 8 guests