MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ReadIsHole

Function ReadIsHole

Source/Engine/Terrain/TerrainPatch.cpp:268–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268FORCE_INLINE bool ReadIsHole(const Color32& raw)
269{
270 return (raw.B + raw.A) >= (int32)(1.9f * MAX_uint8);
271}
272
273void CalculateHeightmapRange(Terrain* terrain, TerrainDataUpdateInfo& info, const float* heightmap, float chunkOffsets[Terrain::ChunksCount], float chunkHeights[Terrain::ChunksCount])
274{

Callers 2

GetPhysicalMaterialFunction · 0.85
CacheHeightDataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected