Difference between revisions of "Libfov"

From RogueBasin
Jump to navigation Jump to search
Line 1: Line 1:
See the [http://libfov.sourceforge.net/wiki/ libfov wiki] for all your libfov documentation and support.
See the [http://libfov.sourceforge.net/wiki/ libfov wiki] for all your libfov documentation, support, bugs, etc.
 
== Bugs ==
 
in order to be able to "#include <fov/fov.h>" and compile as a c program rather then a c++ one, you need to add the following lines before including fov.h:
 
<pre><nowiki>
#define bool int
#include <math.h>
</nowiki></pre>
For instance:
<pre><nowiki>
#define bool int
#include <math.h>
#include <fov/fov.h>
 
int
main(){
    /*do stuff*/
    return 0;
}
</nowiki></pre>
 
 
--this page needs to be expanded!

Revision as of 23:09, 3 September 2007

See the libfov wiki for all your libfov documentation, support, bugs, etc.