Re: [Hecl-devel] double mathcmds
Brought to you by:
davidw
From: Martin M. <DO...@gm...> - 2008-04-19 08:49:03
|
Hi David, > I added the patch. Everything still compiles:-) > > > The Math command are very helpful for gaming and 3D transformation. > > I hope no one tries to do too much heavy math in Hecl itself! That > would definitely be a situation where, if at all possible, a command > that does all the math in Java and returns a result would potentially > be a good idea in terms of performance. As always though, do some > benchmarks to make sure you're optimizing the right thing. You are right !!! that's definitely to slow. You can take a look on a little demo I putted on "http://builder.hecl.org". http://builder.hecl.org/scripts/show/108 It's just 2D transformation but even that is enough to see how slow it is. > > > Great !!! > > > > But how about the random command from the java.util.Random class. > > > That's also very useful for gaming! > > Is that in CLDC1.1 ? Yes in java.util.Random class, which is in CLDC1.1 and even in CLDC1.0! But the class works not in the same way like j2se random do. So, it's not enough to just change the antenna settings! BR, Martin > > -- > David N. Welton > > http://www.welton.it/davidw/ > > http://www.dedasys.com/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Hecl-devel mailing list > Hec...@li... > https://lists.sourceforge.net/lists/listinfo/hecl-devel -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger |