Need a self-contained PokeF function, + some news.

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by halo.

I successfully wrote a DLL in PureBasic that takes a series of planes, like how .map files are described, intersects them, and returns data to construct a polygon...all without any 3D support. I am getting ready to send out an SDK and beta of CShop3, and I really need these floats to be poking. I hate to multiply everything by 10,000 right now and use integers, and then have to go back and change it all. Does anyone have a self-contained PokeF() function?

The reason this DLL is interesting is because it allows faster lightmapping, bsp compiling, and CSG operations.


Edited by - halo on 03 August 2002 05:46:03
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by El_Choni.

Hi,

I don't know what you mean by 'self contained'. I've coded a small lib you can use to do the job:

http://www.terra.es/personal5/temporald/PokeFloat.zip

Funny that the PokeF() function is in the docs, but not in the Misc library itself (must have been forgotten, because the function is three lines of code). I've named it PokeFloat() so not to conflict with PokeF(), when available. PokeFloat() works just like PofeF() should.

Hope this helps,

El_Choni
Post Reply