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