Fabric API

Fabric API

106M Downloads

QuadEmitter#sprite default implementation is broken

Technici4n opened this issue ยท 3 comments

commented

The square method was meant (iirc) to use left-right coordinates from the perspective of the viewer, vs world axis coordinate. Doing it the other way is fairly straightforward using vertex coordinates directly.

commented

Ah, okay. If it was intended to work the other way then this is indeed a bug :p

commented

Your expected result expect the X axis to be flipped for each negative-axis facing. This should not be the case imo since it would mean that making a box with quads is more difficult since you can no longer use the same coordinates for the two opposite sides.