| Reply | « Previous Thread | Next Thread » |
|
I wanted to use the java.math.floor() function, but whenver I tried to import the java.math package, the compiler told me it couldn't be found. I was finally able to import java.lang.math, but this has a bare minimum mathematic functions. I'm still a newb, so can someone help me with this?
SpaceCowboy |
| SpaceCowboy |
| View Public Profile |
| Find all posts by SpaceCowboy |
|
For most maths stuff you'll have to write your own routines.
MIDP 1.0 doesn't support floating point types for example, so you'll need to develop your own fixed point system, and all the needed maths functions to go with. Vex / GraphicReality.co.uk
Last edited by GraphicReality : 2003-08-14 at 01:00.
|
|
Oh...pain...
Ugh...Luckily my game isn't too math intensive, but it is going to make things more interesting. Thanks for the quick response. SpaceCowboy |
| SpaceCowboy |
| View Public Profile |
| Find all posts by SpaceCowboy |
|
Hello!
Try to use my free source math class See http://henson.newmail.ru/j2me/Float.htm for more details Many developers around the world already use it ;-) |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|