mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Intersect instad of union in pyramid
This commit is contained in:
parent
07da6a9271
commit
4b6f3ddeea
@ -404,17 +404,17 @@ impl Painter {
|
||||
inset,
|
||||
dir: 0,
|
||||
})
|
||||
.union(self.prim(Primitive::Ramp {
|
||||
.intersect(self.prim(Primitive::Ramp {
|
||||
aabb,
|
||||
inset,
|
||||
dir: 1,
|
||||
}))
|
||||
.union(self.prim(Primitive::Ramp {
|
||||
.intersect(self.prim(Primitive::Ramp {
|
||||
aabb,
|
||||
inset,
|
||||
dir: 2,
|
||||
}))
|
||||
.union(self.prim(Primitive::Ramp {
|
||||
.intersect(self.prim(Primitive::Ramp {
|
||||
aabb,
|
||||
inset,
|
||||
dir: 3,
|
||||
|
Loading…
Reference in New Issue
Block a user