s3d_init
initialize s3d library
- Provided by: s3d-doc (Version: 0.2.2.1-6build3)
- Source: s3d
- Report a bug
initialize s3d library
#include <s3d.h>
int s3d_init(int *argc, char ***argv, const char *name);
This will initialize the s3d-library and the connection to the Server. It will return 0 on success in server initialization. name specifies the your programs name.
int main(char argc, char **argv)
{
if (!s3d_init(&argc, &argv, "Hello world"))
{
...
s3d_quit();
}
return 0;
}
Simon Wunderlich