17 lines
380 B
C
17 lines
380 B
C
#include <cglm/struct.h>
|
|
#include <GL/glew.h>
|
|
|
|
typedef struct worldMesh {
|
|
long int count;
|
|
GLfloat* vertices;
|
|
} worldMesh;
|
|
|
|
|
|
/*!
|
|
* @brief top-level world generation function
|
|
*
|
|
* @param[in] pos the position of the center of the roughly spherical world
|
|
* @return the world mesh as a heap-allocated list of vertices.
|
|
*/
|
|
worldMesh generateWorld(vec3s pos);
|