I just downloaded my copy... about what I expected... all of the DBPro commands in a C/C++ environment.
I have a few suggestions.
seeing as we're dealing with C/C++ now, some easier commands would be nice. the command I personally most would like to see is:
dbSetObjectMatrix( int dbobj, float* matrix )
where "matrix" is just a pointer to an array of 16 floats.
actually, the inclusion of a simple vector and matrix class would make the system about 500x more usable.
imagine this kind of code:
dbVector3 size( 5.0, 3.0, 2.0 );
dbVector3 pos(0.0, 10.0, 0.0);
dbVector3 rot(10.0, 20.0, 30.0);
dbMatrix mat( pos, rot );
dbMakeObjectBox( obj, size );
dbSetObjectMatrix( obj, mat );
pos = dbGetObjectPosition( obj );
...etc. this is so much cleaner! with just the addition of a simple vector class and a matrix class, you can do so much more!
for example, when doing any math on vectors, like for example finding the cross product, we have to calculate it out all individually. with these classes, you can just override the * operator, and the code is so much easier to understand.
I realize this is basically just a C/C++ version of DBPro, but it's a shame not to take advantage of the benefits of C/C++.
For the time being, I suppose I'll write up my own set of classes to do this kind of stuff for me...
Go Go Gadget DBPRO!
Athlon XP 2400+ || DDR-SDRAM 1GB || Nvidia GeForce 4 Ti4200 AGP 8x 128MB