mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
sync
This commit is contained in:
parent
ac9187002b
commit
34a15d1bf8
@ -557,7 +557,7 @@ impl<const AVERAGE_PALETTE: bool> VoxelImageDecoding for TriPngEncoding<AVERAGE_
|
|||||||
} else {
|
} else {
|
||||||
use BlockKind::*;
|
use BlockKind::*;
|
||||||
match kind {
|
match kind {
|
||||||
Air | Water | Lava | GlowingRock => Rgb { r: 0, g: 0, b: 0 },
|
Air | Water | Lava => Rgb { r: 0, g: 0, b: 0 },
|
||||||
Rock => Rgb {
|
Rock => Rgb {
|
||||||
r: 93,
|
r: 93,
|
||||||
g: 110,
|
g: 110,
|
||||||
|
@ -110,9 +110,11 @@ impl<'a> CanvasInfo<'a> {
|
|||||||
cave: Default::default(),
|
cave: Default::default(),
|
||||||
cliff_height: 0.0,
|
cliff_height: 0.0,
|
||||||
contains_waypoint: false,
|
contains_waypoint: false,
|
||||||
|
spot: None,
|
||||||
};
|
};
|
||||||
f(&CanvasInfo {
|
f(&CanvasInfo {
|
||||||
wpos: Vec2::broadcast(0),
|
chunk_pos: Vec2::zero(),
|
||||||
|
wpos: Vec2::zero(),
|
||||||
column_grid: &zcache_grid,
|
column_grid: &zcache_grid,
|
||||||
column_grid_border: 0,
|
column_grid_border: 0,
|
||||||
chunks: &sim,
|
chunks: &sim,
|
||||||
|
Loading…
Reference in New Issue
Block a user