mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Continue fixing failing tool tests. Fix regression where UV coordinates might have the wrong order.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user