edit: also root\square
General Question
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
Probe
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
General Question
does the l2j project also contain mathematical functions such as sin\cos\tan ?
edit: also root\square
edit: also root\square
- RiZe
- Posts: 122
- Joined: Mon Mar 24, 2008 12:44 am
- Location: Czech Republic
- Contact:
-
Probe
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: General Question
yes
what I'm asking is if this class is imported in l2j
what I'm asking is if this class is imported in l2j
- RiZe
- Posts: 122
- Joined: Mon Mar 24, 2008 12:44 am
- Location: Czech Republic
- Contact:
Re: General Question
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.
And now you can enjoy using mathematical functions from Math class in that file. So easy.
Code: Select all
// Put this before the class declaration on the top of fileimport java.lang.Math; public class SomeClass{// ... -
Probe
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: General Question
wasn't sure if that's all I needed
thanks