General Question

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

General Question

Post by Probe »

does the l2j project also contain mathematical functions such as sin\cos\tan ?

edit: also root\square :P
User avatar
RiZe
Posts: 122
Joined: Mon Mar 24, 2008 12:44 am
Location: Czech Republic
Contact:

Re: General Question

Post by RiZe »

Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: General Question

Post by Probe »

yes
what I'm asking is if this class is imported in l2j
User avatar
RiZe
Posts: 122
Joined: Mon Mar 24, 2008 12:44 am
Location: Czech Republic
Contact:

Re: General Question

Post 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.
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: General Question

Post by Probe »

wasn't sure if that's all I needed :) thanks
Post Reply