[Kstars-devel] Testing the use of quaternions in KStars

Jason Harris kstars at 30doradus.org
Mon Oct 2 16:14:48 CEST 2006


Hi,

On Sunday 01 October 2006 20:02, Jason Harris wrote:
> To test it, I added some timing code to time how long it takes to process
> 126,000 stars through toScreen(), and through toScreenQuaternion().  The
> results:
>
> toScreen():  22 ms
> toScreenQuaternion():  31 ms
>
Argh, I'm an idiot.  I didn't reset the timer so the toScreenQuaternion time 
included the toScreen time.  Correct values:

toScreen():  22 ms
toScreenQuaternion():  9 ms

Now we're talking...

-- 
KStars: http://edu.kde.org/kstars
Community Forums: http://kstars.30doradus.org


More information about the Kstars-devel mailing list