class
FractionalStatic methods
Methods
- def approx(self, other: Vec3, epsilon: float) -> bool
- def cross(self, arg0: Vec3, /) -> Vec3
- def dot(self, arg0: Vec3, /) -> float
- def length(self, /) -> float
- def normalized(self, /) -> Vec3
- def wrap_to_unit(self, /) -> Fractional
- def wrap_to_zero(self, /) -> Fractional
Special methods
- def __add__(self, arg0: Fractional, /) -> Fractional
- def __getitem__(self, arg0: int, /) -> float
- def __iadd__(self, arg0: Vec3, /) -> Vec3
- def __imul__(self, arg0: float, /) -> Vec3
- def __init__(self, arg0: float, arg1: float, arg2: float, /) -> None
- def __init__(self, arg0: Vec3, /) -> None
- def __isub__(self, arg0: Vec3, /) -> Vec3
- def __itruediv__(self, arg0: float, /) -> Vec3
- def __mul__(self, arg0: float, /) -> Vec3
- def __neg__(self, /) -> Vec3
- def __repr__(self, /) -> str
- def __rmul__(self, arg0: float, /) -> Vec3
- def __setitem__(self, arg0: int, arg1: float, /) -> None
- def __sub__(self, arg0: Fractional, /) -> Fractional
- def __truediv__(self, arg0: float, /) -> Vec3