#include "utils.h" #include "assets.h" // This file is likely completely change. #ifndef WORLD_H #define WORLD_H typedef struct { Vector3 size; Model heightmap; const Image* image; Color* heightmapColors; } World; World createWorld(const Assets* assets); void updateWorld(World* world, Game* game); void freeWorld(World world); // Dam, I wanta live in a free world ): float getWorldPixelHeight(World world, int x, int y); float getWorldHeightAtLocation(World world, int x, int y); #endif