Continue fixing failing tool tests. Fix regression where UV coordinates might have the wrong order.

This commit is contained in:
Dion Moult
2025-02-06 17:22:54 +11:00
parent 23efb09ba6
commit b7fb5c90bc
8 changed files with 39 additions and 30 deletions
@@ -49,7 +49,7 @@ else:
SequenceOfVectors = Union[Sequence[VectorType], np.ndarray]
def V(*args: Union[float, VectorType, SequenceOfVectors]) -> npt.NDArray[np.float64]:
def V(*args: Union[float, int, VectorType, SequenceOfVectors]) -> npt.NDArray[np.float64]:
"""Convert floats / vector / sequence of vectors to numpy array.
Note that `float` argument type also allows passing ints,