mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 06:50:27 +00:00
draw: 3d models now should appear correctly
This commit is contained in:
parent
bfb0b3f070
commit
d796635dfa
@ -2068,7 +2068,7 @@ namespace mapeditor {
|
|||||||
hpcshape& sh(ds.sh);
|
hpcshape& sh(ds.sh);
|
||||||
|
|
||||||
if(sh.s != sh.e) {
|
if(sh.s != sh.e) {
|
||||||
auto& last = queuepolyat(mmscale(V, geom3::lev_to_factor(ds.zlevel)), sh, ds.color ? ds.color : color, prio);
|
auto& last = queuepolyat(mmscale(V, DIM == 3 ? 0 : geom3::lev_to_factor(ds.zlevel)), sh, ds.color ? ds.color : color, prio);
|
||||||
if(DIM == 3) {
|
if(DIM == 3) {
|
||||||
last.tinf = &user_triangles_texture;
|
last.tinf = &user_triangles_texture;
|
||||||
last.offset_texture = ds.texture_offset;
|
last.offset_texture = ds.texture_offset;
|
||||||
|
Loading…
Reference in New Issue
Block a user