fix wrong np_offset
@@ -17,7 +17,7 @@ class Base3DEngine(RenderEngine):
self.vertices = []
self.np_scale = np.array((self.scale, self.scale, self.scale))
- self.np_offset = np.array((-self.minx * self.scale, -self.maxy * self.scale, 0))
+ self.np_offset = np.array((-self.minx * self.scale, -self.miny * self.scale, 0))
def _add_geometry(self, geometry, fill: Optional[FillAttribs], stroke: Optional[StrokeAttribs], **kwargs):
if fill is not None:
