Page 1 of 1
General Question
Posted: Thu Sep 17, 2009 7:27 pm
by Probe
does the l2j project also contain mathematical functions such as sin\cos\tan ?
edit: also root\square

Re: General Question
Posted: Thu Sep 17, 2009 9:42 pm
by RiZe
Re: General Question
Posted: Thu Sep 17, 2009 9:46 pm
by Probe
yes
what I'm asking is if this class is imported in l2j
Re: General Question
Posted: Thu Sep 17, 2009 9:54 pm
by RiZe
It's up to you. You will decide about the import of Math class in every class of project where you want to use some mathematical functions.
Code: Select all
// Put this before the class declaration on the top of fileimport java.lang.Math; public class SomeClass{// ...
And now you can enjoy using mathematical functions from Math class in that file. So easy.
Re: General Question
Posted: Thu Sep 17, 2009 9:59 pm
by Probe
wasn't sure if that's all I needed

thanks