> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Doug Gehringer
> Sent: Donnerstag, 2. September 1999 01:08
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Realtime? Or a fast timer?
>
>
> > From: "Joerg 'Herkules' Plewe" <[EMAIL PROTECTED]>
> > Subject: [JAVA3D] Realtime? Or a fast timer?
> >
> > For a flightsim, you need to know times quite precisely. What I tried is
> > java.util.Date.getTime(), which claims to be a millisecond
> timer. In fact,
> > on my win98 machine it's a 60ms-timer (see code below).
>
>
> You might try using System.currentTimeMillis(), but it might end
> up having the
> same time resolution.
>
> Doug Gehringer
> Sun Microsystems
>

Yes, same resolution. And currentTimeMillis() is as slow as 'new Date()' is.
I suppose
the two implementations are equivalent.

No better ways?

- J

Joerg 'Herkules' Plewe
HARDCODE Development
http://www.hardcode.de

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to