- added an experimental 3D area (archball camera)

This commit is contained in:
Marius Stanciu
2020-12-12 02:49:24 +02:00
committed by Marius
parent f613c8e9a6
commit aed970f50c
9 changed files with 534 additions and 6 deletions

View File

@@ -98,6 +98,9 @@ def apply_patches():
offset = domain[0]
scale = domain[1] - domain[0]
if scale == 0 or not scale:
scale = 0.00000001
transforms = self.axis.transforms
length = self.axis.pos[1] - self.axis.pos[0] # in logical coords
n_inches = np.sqrt(np.sum(length ** 2)) / transforms.dpi