载入中...
搜索中...
未找到
Snow.cpp 文件参考
#include "weather/Snow.h"
#include "graphics/Graphics.h"
#include "procgen/heightmap/Heightmap.h"
#include <simplesquirrel/simplesquirrel.hpp>
#include <cstdint>
#include <functional>
#include <vector>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::weather
 

函数

 eve::weather::Module_IMPL (Snow, new Snow())
 
void eve::weather::applySnowToHeightmap (const SnowField &field, const procgen::Heightmap &terrain, procgen::Heightmap &out, float heightScale)
 out(x, y) = terrain(x, y) + field(x, y) * heightScale.