programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: Floating point library parameters

From: Dennis Ruffer <druffer_at_worldnet.att.net>
Date: Tue, 9 Jan 2007 10:14:01 -0700

On Jan 9, 2007, at 9:30 AM, Roland Smith wrote:

> Hi Dennis
>
>> Ok, no answer implies an answer to my next question, but I'll ask it
>> anyway. Has anyone implemented external library calls to functions
>> that take floating point parameters? I note that the SwiftForth
>> support does not implement them, but I'm kind of hoping someone else
>> has looked at the issue and might have some advice, at least.
>
> There are some OpenGL demos out there that do what it sound like
> you are
> asking for. The one below is from the SwiftForth message archive and
> starts off with a few routines to pass floats to OpenGL. I was
> mucking
> around with calls to an image processing library Freeimage.dll (
> http://freeimage.sourceforge.net/sourcecode.html ) recently and
> used the
> same mechnism to pass float parameters with some success.
>
> Hope this helps, Roland

That's precisely what I was looking for!

Thanks Roland

DaR

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Tue Jan 09 2007 - 09:14:42 PST

This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:41 PST