mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 15:01:49 +00:00
east aabb side flipped
This commit is contained in:
parent
ee38f8a426
commit
9d77425634
1 changed files with 2 additions and 2 deletions
|
|
@ -285,8 +285,8 @@ void BlocksRenderer::blockAABB(const ivec3& icoord,
|
||||||
face(coord+X, -Z, Y, X, X-X+loff,
|
face(coord+X, -Z, Y, X, X-X+loff,
|
||||||
local+size.x*fX-fX-(offset.y)*fY,
|
local+size.x*fX-fX-(offset.y)*fY,
|
||||||
size.z, size.y, 0.0f, texfaces[1], lights); // west
|
size.z, size.y, 0.0f, texfaces[1], lights); // west
|
||||||
face(coord+Y, -Z, -Y, -X, -X-Y+loff,
|
face(coord+Y, Z, Y, -X, -X-Y+loff,
|
||||||
local-(1.0f-(size.y-offset.y))*fY,
|
local-(offset.y)*fY-fY-fZ*size.z,
|
||||||
size.z, size.y, 0.0f, texfaces[0], lights); // east
|
size.z, size.y, 0.0f, texfaces[0], lights); // east
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue