Vector2FloatingPoint
public protocol Vector2FloatingPoint : Vector2Signed, VectorFloatingPoint where Self.SubVector3 : Vector3FloatingPoint
Protocol for 2D vector types where the components are floating-point numbers.
-
Initializes this
Vector2FloatingPointwith a given binary Vector2Declaration
Swift
init<V>(_ other: V) where V : Vector2Type, V.Scalar : BinaryInteger -
+(_:Default implementation_: ) Default Implementation
Declaration
Swift
static func + <V>(lhs: Self, rhs: V) -> Self where V : Vector2Type, V.Scalar : BinaryInteger -
-(_:Default implementation_: ) Default Implementation
Declaration
Swift
static func - <V>(lhs: Self, rhs: V) -> Self where V : Vector2Type, V.Scalar : BinaryInteger -
*(_:Default implementation_: ) Default Implementation
Declaration
Swift
static func * <V>(lhs: Self, rhs: V) -> Self where V : Vector2Type, V.Scalar : BinaryInteger -
Declaration
Swift
static func + <V>(lhs: V, rhs: Self) -> Self where V : Vector2Type, V.Scalar : BinaryInteger -
Declaration
Swift
static func - <V>(lhs: V, rhs: Self) -> Self where V : Vector2Type, V.Scalar : BinaryInteger -
Declaration
Swift
static func * <V>(lhs: V, rhs: Self) -> Self where V : Vector2Type, V.Scalar : BinaryInteger -
+=(_:Default implementation_: ) Default Implementation
Declaration
Swift
static func += <V>(lhs: inout Self, rhs: V) where V : Vector2Type, V.Scalar : BinaryInteger -
-=(_:Default implementation_: ) Default Implementation
Declaration
Swift
static func -= <V>(lhs: inout Self, rhs: V) where V : Vector2Type, V.Scalar : BinaryInteger -
*=(_:Default implementation_: ) Default Implementation
Declaration
Swift
static func *= <V>(lhs: inout Self, rhs: V) where V : Vector2Type, V.Scalar : BinaryInteger -
/(_:Default implementation_: ) Default Implementation
Declaration
Swift
static func / <V>(lhs: Self, rhs: V) -> Self where V : Vector2Type, V.Scalar : BinaryInteger -
Declaration
Swift
static func / <V>(lhs: V, rhs: Self) -> Self where V : Vector2Type, V.Scalar : BinaryInteger -
/=(_:Default implementation_: ) Default Implementation
Declaration
Swift
static func /= <V>(lhs: inout Self, rhs: V) where V : Vector2Type, V.Scalar : BinaryInteger