Is it reasonable to assume I will see a significant improvement in speed if
I take the time to convert everything that's double precision to float
precision?
Changing everything over will take quite a bit of time, so I thought I'd ask
before spending the time. This means all of my Point3d's would have to be
changed to Point3f's and all double's to float's plus adding Explicit casts
for things like:
float intNum = (i/135.0+0.28)*scale;
float radianConv = Math.PI*2;
both have to change to:
float intNum = (i/135.0f+0.28f)*scale; //(assuming i &
scale are floats)
float radianConv = (float)(Math.PI*2);
Has anyone done a comparison on this in the past?
Don Casteel
Manufacturing Engineer
TEXTRON Automotive Company -- Athens Operations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Voice: (423)744-1109
Fax: (423)744-1112
Pager: (423)744-1129 -- 109
Internet: [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
===========================================================================
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".