Design 
  Community 
  Quesa 3D 
  Discussion
 
 

Message - Re: [Quesa-develop] Re: Quesa - Optimization ideas.

Post a Response | Quesa 3D Forum | Quesa Home | 3D CAD Forum
   

Posted by  Seth Willits on February 10, 2004 at 14:11:39:


On Feb 10, 2004, at 12:03 PM, Frank C wrote:

>> 4. Does Quesa make a lot of sqrt calls?
>> Would a look up table be faster in some cases or a less accurate sqrt
>> call?
>> Or is the more accurate called really needed in Quesa?
>
> According to the docs, the Q3Math_SquareRoot and Q3Math_InvSquareRoot
> functions use approximations - but looking at the source, they return
> sqrt(x) and 1.0/sqrt(x). I guess this was a "todo" that never got
> done...

What about __fsqrt? Brian used it in all of his code. I'm assuming it
was because it was/is faster than sqrt.

Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames

"Your friend is the person who knows all about you and still likes you."
-- Elbert Green Hubbard
------------------------------------------------------------------------
---

 


Responses:




Post a Response -

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

Quesa 3D Forum | 3D CAD Forum | User Gallery | Architecture Forum | Scrapbook | Green Design
 

DesignCommunity | Quesa Home | ArchWeek | Great Buildings | DesignWorkshop | Free 3D | CAD Outpost | Search
This document is provided for on-line viewing only. http://quesa.DesignCommunity.com/quesa_forum/5328.html